mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 13:40:06 +00:00
* setup SetPassword component * accept query params * add InputPasswordComponent to template * add route * add dynamic translation with org name * feature flag route * setup onInit * add set password logic * move to libs * remove comments * update AuthGuard routing * use ToastService * replace deprecated methods * replace orgId input with policy input * use getter for msg instead of ngOnInit * cleanup * refactor to use services * more refactoring of service * address browser routing and translations * add desktop service * simplify queryParam handler * remove ngOnDestroy * small edits * use inject() * add jsdocs * create basic tests * add success toasts on successfuly set password * add tests * update feature-flag * move model to service * refactor client services to override setPassword() * add error handling to setPassword() * move auto enroll logic to service * update tests * fix test * adjust padding on password-callout list * revert refactor of auto enroll logic * refactor keyPair generation to own method * update page title and button text * update pageSubtitle and translations * fix test
25 lines
757 B
HTML
25 lines
757 B
HTML
<bit-callout>
|
|
{{ message | i18n }}
|
|
|
|
<ul *ngIf="policy" class="tw-mb-0 tw-ml-8 tw-ps-0">
|
|
<li *ngIf="policy?.minComplexity > 0">
|
|
{{ "policyInEffectMinComplexity" | i18n: getPasswordScoreAlertDisplay() }}
|
|
</li>
|
|
<li *ngIf="policy?.minLength > 0">
|
|
{{ "policyInEffectMinLength" | i18n: policy?.minLength.toString() }}
|
|
</li>
|
|
<li *ngIf="policy?.requireUpper">
|
|
{{ "policyInEffectUppercase" | i18n }}
|
|
</li>
|
|
<li *ngIf="policy?.requireLower">
|
|
{{ "policyInEffectLowercase" | i18n }}
|
|
</li>
|
|
<li *ngIf="policy?.requireNumbers">
|
|
{{ "policyInEffectNumbers" | i18n }}
|
|
</li>
|
|
<li *ngIf="policy?.requireSpecial">
|
|
{{ "policyInEffectSpecial" | i18n: "!@#$%^&*" }}
|
|
</li>
|
|
</ul>
|
|
</bit-callout>
|