Browse Source

Misc jslib cleanups (#146)

Fixed on import parameter type on login.component and added a deprecation warning to the index.ts in abstractions
PS-589-2fa-device-verification-settings
Addison Beck 5 years ago committed by GitHub
parent
commit
420393700b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/abstractions/index.ts
  2. 3
      src/angular/components/login.component.ts

1
src/abstractions/index.ts

@ -1,3 +1,4 @@ @@ -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';

3
src/angular/components/login.component.ts

@ -13,6 +13,7 @@ import { EnvironmentService } from '../../abstractions/environment.service'; @@ -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 { @@ -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) { }

Loading…
Cancel
Save