mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-27 12:26:38 +01:00
[SSO] New user provision flow jslib update (f0dc38b -> d84d6da) (#570)
* Updated import/constructors * Update jslib from f0dc38b -> d84d6da
This commit is contained in:
parent
38ecc3b74b
commit
be95ee9328
2
jslib
2
jslib
@ -1 +1 @@
|
|||||||
Subproject commit f30d6f8027055507abfdefd1eeb5d9aab25cc601
|
Subproject commit d84d6da7f77ec89ba69299b1ff982f083fd77203
|
@ -1,6 +1,9 @@
|
|||||||
import { Component } from '@angular/core';
|
import { Component } from '@angular/core';
|
||||||
|
|
||||||
import { Router } from '@angular/router';
|
import {
|
||||||
|
ActivatedRoute,
|
||||||
|
Router,
|
||||||
|
} from '@angular/router';
|
||||||
|
|
||||||
import { ApiService } from 'jslib/abstractions/api.service';
|
import { ApiService } from 'jslib/abstractions/api.service';
|
||||||
import { CryptoService } from 'jslib/abstractions/crypto.service';
|
import { CryptoService } from 'jslib/abstractions/crypto.service';
|
||||||
@ -25,9 +28,9 @@ export class SetPasswordComponent extends BaseSetPasswordComponent {
|
|||||||
cryptoService: CryptoService, messagingService: MessagingService,
|
cryptoService: CryptoService, messagingService: MessagingService,
|
||||||
userService: UserService, passwordGenerationService: PasswordGenerationService,
|
userService: UserService, passwordGenerationService: PasswordGenerationService,
|
||||||
platformUtilsService: PlatformUtilsService, policyService: PolicyService, router: Router,
|
platformUtilsService: PlatformUtilsService, policyService: PolicyService, router: Router,
|
||||||
syncService: SyncService) {
|
syncService: SyncService, route: ActivatedRoute) {
|
||||||
super(i18nService, cryptoService, messagingService, userService, passwordGenerationService,
|
super(i18nService, cryptoService, messagingService, userService, passwordGenerationService,
|
||||||
platformUtilsService, policyService, router, apiService, syncService);
|
platformUtilsService, policyService, router, apiService, syncService, route);
|
||||||
}
|
}
|
||||||
|
|
||||||
get masterPasswordScoreWidth() {
|
get masterPasswordScoreWidth() {
|
||||||
|
@ -5,7 +5,10 @@ import {
|
|||||||
ViewContainerRef,
|
ViewContainerRef,
|
||||||
} from '@angular/core';
|
} from '@angular/core';
|
||||||
|
|
||||||
import { Router } from '@angular/router';
|
import {
|
||||||
|
ActivatedRoute,
|
||||||
|
Router,
|
||||||
|
} from '@angular/router';
|
||||||
|
|
||||||
import { TwoFactorOptionsComponent } from './two-factor-options.component';
|
import { TwoFactorOptionsComponent } from './two-factor-options.component';
|
||||||
|
|
||||||
@ -36,9 +39,9 @@ export class TwoFactorComponent extends BaseTwoFactorComponent {
|
|||||||
i18nService: I18nService, apiService: ApiService,
|
i18nService: I18nService, apiService: ApiService,
|
||||||
platformUtilsService: PlatformUtilsService, syncService: SyncService,
|
platformUtilsService: PlatformUtilsService, syncService: SyncService,
|
||||||
environmentService: EnvironmentService, private componentFactoryResolver: ComponentFactoryResolver,
|
environmentService: EnvironmentService, private componentFactoryResolver: ComponentFactoryResolver,
|
||||||
stateService: StateService, storageService: StorageService) {
|
stateService: StateService, storageService: StorageService, route: ActivatedRoute) {
|
||||||
super(authService, router, i18nService, apiService, platformUtilsService, window, environmentService,
|
super(authService, router, i18nService, apiService, platformUtilsService, window, environmentService,
|
||||||
stateService, storageService);
|
stateService, storageService, route);
|
||||||
super.onSuccessfulLogin = () => {
|
super.onSuccessfulLogin = () => {
|
||||||
return syncService.fullSync(true);
|
return syncService.fullSync(true);
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user