2024-08-27 09:12:28 -04:00
|
|
|
<bit-callout [icon]="icon" [title]="title" [type]="$any(type)" [useAlertRole]="useAlertRole">
|
|
|
|
|
<div class="tw-pl-7 tw-m-0" *ngIf="enforcedPolicyOptions">
|
2021-08-20 10:51:11 -05:00
|
|
|
{{ enforcedPolicyMessage }}
|
|
|
|
|
<ul>
|
|
|
|
|
<li *ngIf="enforcedPolicyOptions?.minComplexity > 0">
|
2023-03-21 11:28:15 +01:00
|
|
|
{{ "policyInEffectMinComplexity" | i18n: getPasswordScoreAlertDisplay() }}
|
2021-08-20 10:51:11 -05:00
|
|
|
</li>
|
|
|
|
|
<li *ngIf="enforcedPolicyOptions?.minLength > 0">
|
2023-03-21 11:28:15 +01:00
|
|
|
{{ "policyInEffectMinLength" | i18n: enforcedPolicyOptions?.minLength.toString() }}
|
2021-08-20 10:51:11 -05:00
|
|
|
</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">
|
2023-03-21 11:28:15 +01:00
|
|
|
{{ "policyInEffectSpecial" | i18n: "!@#$%^&*" }}
|
2021-08-20 10:51:11 -05:00
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
2020-02-28 16:57:34 -05:00
|
|
|
<ng-content></ng-content>
|
2024-08-27 09:12:28 -04:00
|
|
|
</bit-callout>
|