1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

make minimumLength msg update if mp policy is enforced (#10105)

This commit is contained in:
rr-bw 2024-07-16 09:36:05 -07:00 committed by GitHub
parent e2c99c2cdf
commit aa8c5b1516
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 {