diff --git a/jslib b/jslib index daa4f6f9a6..f02720a1c6 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit daa4f6f9a6dc84d6cd9a937be6b5392d2cf51eca +Subproject commit f02720a1c654adeb73d68b73bb61fcf7415041f4 diff --git a/src/app/accounts/register.component.html b/src/app/accounts/register.component.html index 038518ae38..d752d9581a 100644 --- a/src/app/accounts/register.component.html +++ b/src/app/accounts/register.component.html @@ -62,24 +62,8 @@ {{'yourNameDesc' | i18n}}
- - {{'masterPasswordPolicyInEffect' | i18n}} - +
diff --git a/src/app/accounts/register.component.ts b/src/app/accounts/register.component.ts index 3623fbd133..f2c640e217 100644 --- a/src/app/accounts/register.component.ts +++ b/src/app/accounts/register.component.ts @@ -43,26 +43,6 @@ export class RegisterComponent extends BaseRegisterComponent { passwordGenerationService, environmentService); } - getPasswordScoreAlertDisplay() { - if (this.enforcedPolicyOptions == null) { - return ''; - } - - let str: string; - switch (this.enforcedPolicyOptions.minComplexity) { - case 4: - str = this.i18nService.t('strong'); - break; - case 3: - str = this.i18nService.t('good'); - break; - default: - str = this.i18nService.t('weak'); - break; - } - return str + ' (' + this.enforcedPolicyOptions.minComplexity + ')'; - } - async ngOnInit() { const queryParamsSub = this.route.queryParams.subscribe(qParams => { this.referenceData = new ReferenceEventRequest(); diff --git a/src/app/accounts/set-password.component.html b/src/app/accounts/set-password.component.html index e3eeacd3fd..b41e5b9914 100644 --- a/src/app/accounts/set-password.component.html +++ b/src/app/accounts/set-password.component.html @@ -10,24 +10,8 @@
{{'ssoCompleteRegistration' | i18n}}
- - {{'masterPasswordPolicyInEffect' | i18n}} -
    -
  • - {{'policyInEffectMinComplexity' | i18n : getPasswordScoreAlertDisplay()}} -
  • -
  • - {{'policyInEffectMinLength' | i18n : enforcedPolicyOptions?.minLength.toString()}} -
  • -
  • - {{'policyInEffectUppercase' | i18n}}
  • -
  • - {{'policyInEffectLowercase' | i18n}}
  • -
  • - {{'policyInEffectNumbers' | i18n}}
  • -
  • - {{'policyInEffectSpecial' | i18n : '!@#$%^&*'}}
  • -
+
diff --git a/src/app/accounts/update-temp-password.component.html b/src/app/accounts/update-temp-password.component.html index 59685dee93..59d7d238d3 100644 --- a/src/app/accounts/update-temp-password.component.html +++ b/src/app/accounts/update-temp-password.component.html @@ -7,24 +7,8 @@ {{'updateMasterPasswordWarning' | i18n}}
- - {{'masterPasswordPolicyInEffect' | i18n}} -
    -
  • - {{'policyInEffectMinComplexity' | i18n : getPasswordScoreAlertDisplay()}} -
  • -
  • - {{'policyInEffectMinLength' | i18n : enforcedPolicyOptions?.minLength.toString()}} -
  • -
  • - {{'policyInEffectUppercase' | i18n}}
  • -
  • - {{'policyInEffectLowercase' | i18n}}
  • -
  • - {{'policyInEffectNumbers' | i18n}}
  • -
  • - {{'policyInEffectSpecial' | i18n : '!@#$%^&*'}}
  • -
+
diff --git a/src/app/organizations/manage/reset-password.component.html b/src/app/organizations/manage/reset-password.component.html index 7c3e708026..65491cb166 100644 --- a/src/app/organizations/manage/reset-password.component.html +++ b/src/app/organizations/manage/reset-password.component.html @@ -13,24 +13,9 @@