1
0
mirror of https://github.com/bitwarden/web synced 2025-12-15 15:53:18 +00:00

Use the helper methods in EnvironmentService (#1092)

This commit is contained in:
Oscar Hinton
2021-07-23 20:47:43 +02:00
committed by GitHub
parent 35d6a28c94
commit 2b5f61cadd
7 changed files with 24 additions and 33 deletions

View File

@@ -7,6 +7,7 @@ import {
import { ApiService } from 'jslib-common/abstractions/api.service';
import { AuthService } from 'jslib-common/abstractions/auth.service';
import { CryptoService } from 'jslib-common/abstractions/crypto.service';
import { EnvironmentService } from 'jslib-common/abstractions/environment.service';
import { I18nService } from 'jslib-common/abstractions/i18n.service';
import { PasswordGenerationService } from 'jslib-common/abstractions/passwordGeneration.service';
import { PlatformUtilsService } from 'jslib-common/abstractions/platformUtils.service';
@@ -36,9 +37,10 @@ export class RegisterComponent extends BaseRegisterComponent {
i18nService: I18nService, cryptoService: CryptoService,
apiService: ApiService, private route: ActivatedRoute,
stateService: StateService, platformUtilsService: PlatformUtilsService,
passwordGenerationService: PasswordGenerationService, private policyService: PolicyService) {
passwordGenerationService: PasswordGenerationService, private policyService: PolicyService,
environmentService: EnvironmentService) {
super(authService, router, i18nService, cryptoService, apiService, stateService, platformUtilsService,
passwordGenerationService);
passwordGenerationService, environmentService);
}
getPasswordScoreAlertDisplay() {