mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
make minimumLength msg update if mp policy is enforced (#10105)
This commit is contained in:
@@ -62,6 +62,10 @@ export class ChangePasswordComponent implements OnInit, OnDestroy {
|
|||||||
(enforcedPasswordPolicyOptions) =>
|
(enforcedPasswordPolicyOptions) =>
|
||||||
(this.enforcedPolicyOptions ??= enforcedPasswordPolicyOptions),
|
(this.enforcedPolicyOptions ??= enforcedPasswordPolicyOptions),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (this.enforcedPolicyOptions?.minLength) {
|
||||||
|
this.minimumLength = this.enforcedPolicyOptions.minLength;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnDestroy(): void {
|
ngOnDestroy(): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user