diff --git a/src/abstractions/index.ts b/src/abstractions/index.ts index cec535ffab..6d8e7427ed 100644 --- a/src/abstractions/index.ts +++ b/src/abstractions/index.ts @@ -1,3 +1,4 @@ +// Using index.ts is deprecated, please do not extend export { ApiService } from './api.service'; export { AppIdService } from './appId.service'; export { AuditService } from './audit.service'; diff --git a/src/angular/components/login.component.ts b/src/angular/components/login.component.ts index 81a32a8f05..1e533dbad3 100644 --- a/src/angular/components/login.component.ts +++ b/src/angular/components/login.component.ts @@ -13,6 +13,7 @@ import { EnvironmentService } from '../../abstractions/environment.service'; import { I18nService } from '../../abstractions/i18n.service'; import { PasswordGenerationService } from '../../abstractions/passwordGeneration.service'; import { PlatformUtilsService } from '../../abstractions/platformUtils.service'; +import { StateService } from '../../abstractions/state.service'; import { StorageService } from '../../abstractions/storage.service'; import { ConstantsService } from '../../services/constants.service'; @@ -40,7 +41,7 @@ export class LoginComponent implements OnInit { constructor(protected authService: AuthService, protected router: Router, protected platformUtilsService: PlatformUtilsService, protected i18nService: I18nService, - protected stateService: StorageService, protected environmentService: EnvironmentService, + protected stateService: StateService, protected environmentService: EnvironmentService, protected passwordGenerationService: PasswordGenerationService, protected cryptoFunctionService: CryptoFunctionService, private storageService: StorageService) { }