mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
27 lines
1.0 KiB
HTML
27 lines
1.0 KiB
HTML
<bit-callout [icon]="icon" [title]="title" [type]="$any(type)" [useAlertRole]="useAlertRole">
|
|
<div class="tw-pl-7 tw-m-0" *ngIf="enforcedPolicyOptions">
|
|
{{ enforcedPolicyMessage }}
|
|
<ul>
|
|
<li *ngIf="enforcedPolicyOptions?.minComplexity > 0">
|
|
{{ "policyInEffectMinComplexity" | i18n: getPasswordScoreAlertDisplay() }}
|
|
</li>
|
|
<li *ngIf="enforcedPolicyOptions?.minLength > 0">
|
|
{{ "policyInEffectMinLength" | i18n: enforcedPolicyOptions?.minLength.toString() }}
|
|
</li>
|
|
<li *ngIf="enforcedPolicyOptions?.requireUpper">
|
|
{{ "policyInEffectUppercase" | i18n }}
|
|
</li>
|
|
<li *ngIf="enforcedPolicyOptions?.requireLower">
|
|
{{ "policyInEffectLowercase" | i18n }}
|
|
</li>
|
|
<li *ngIf="enforcedPolicyOptions?.requireNumbers">
|
|
{{ "policyInEffectNumbers" | i18n }}
|
|
</li>
|
|
<li *ngIf="enforcedPolicyOptions?.requireSpecial">
|
|
{{ "policyInEffectSpecial" | i18n: "!@#$%^&*" }}
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<ng-content></ng-content>
|
|
</bit-callout>
|