mirror of
https://github.com/bitwarden/directory-connector
synced 2025-12-11 05:43:26 +00:00
fix login ctor
This commit is contained in:
@@ -9,7 +9,10 @@ import { Router } from '@angular/router';
|
|||||||
import { EnvironmentComponent } from './environment.component';
|
import { EnvironmentComponent } from './environment.component';
|
||||||
|
|
||||||
import { AuthService } from 'jslib/abstractions/auth.service';
|
import { AuthService } from 'jslib/abstractions/auth.service';
|
||||||
|
import { CryptoFunctionService } from 'jslib/abstractions/cryptoFunction.service';
|
||||||
|
import { EnvironmentService } from 'jslib/abstractions/environment.service';
|
||||||
import { I18nService } from 'jslib/abstractions/i18n.service';
|
import { I18nService } from 'jslib/abstractions/i18n.service';
|
||||||
|
import { PasswordGenerationService } from 'jslib/abstractions/passwordGeneration.service';
|
||||||
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
|
||||||
import { StateService } from 'jslib/abstractions/state.service';
|
import { StateService } from 'jslib/abstractions/state.service';
|
||||||
import { StorageService } from 'jslib/abstractions/storage.service';
|
import { StorageService } from 'jslib/abstractions/storage.service';
|
||||||
@@ -26,9 +29,14 @@ export class LoginComponent extends BaseLoginComponent {
|
|||||||
|
|
||||||
constructor(authService: AuthService, router: Router,
|
constructor(authService: AuthService, router: Router,
|
||||||
i18nService: I18nService, private componentFactoryResolver: ComponentFactoryResolver,
|
i18nService: I18nService, private componentFactoryResolver: ComponentFactoryResolver,
|
||||||
storageService: StorageService, platformUtilsService: PlatformUtilsService,
|
storageService: StorageService, stateService: StateService,
|
||||||
stateService: StateService) {
|
platformUtilsService: PlatformUtilsService, environmentService: EnvironmentService,
|
||||||
super(authService, router, platformUtilsService, i18nService, storageService, stateService);
|
passwordGenerationService: PasswordGenerationService, cryptoFunctionService: CryptoFunctionService) {
|
||||||
|
super(authService, router,
|
||||||
|
platformUtilsService, i18nService,
|
||||||
|
stateService, environmentService,
|
||||||
|
passwordGenerationService, cryptoFunctionService,
|
||||||
|
storageService);
|
||||||
super.successRoute = '/tabs/dashboard';
|
super.successRoute = '/tabs/dashboard';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user