mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-21 11:35:34 +01:00
make minimumLength msg update if mp policy is enforced (#10105)
This commit is contained in:
parent
e2c99c2cdf
commit
aa8c5b1516
@ -62,6 +62,10 @@ export class ChangePasswordComponent implements OnInit, OnDestroy {
|
||||
(enforcedPasswordPolicyOptions) =>
|
||||
(this.enforcedPolicyOptions ??= enforcedPasswordPolicyOptions),
|
||||
);
|
||||
|
||||
if (this.enforcedPolicyOptions?.minLength) {
|
||||
this.minimumLength = this.enforcedPolicyOptions.minLength;
|
||||
}
|
||||
}
|
||||
|
||||
ngOnDestroy(): void {
|
||||
|
Loading…
Reference in New Issue
Block a user