mirror of
https://github.com/bitwarden/browser
synced 2025-12-10 21:33:27 +00:00
[SG-1022] Update min password requirements to 12 char (#4690)
* fix: change to 10 * work: 12! * Update register.component.ts * fix: whoops, missed a few * fix: can't believe i missed this. --------- Co-authored-by: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com>
This commit is contained in:
@@ -373,8 +373,10 @@ export class LoginCommand {
|
||||
return this.updateTempPassword("Master password is required.\n");
|
||||
}
|
||||
|
||||
if (masterPassword.length < 8) {
|
||||
return this.updateTempPassword("Master password must be at least 8 characters long.\n");
|
||||
if (masterPassword.length < Utils.minimumPasswordLength) {
|
||||
return this.updateTempPassword(
|
||||
`Master password must be at least ${Utils.minimumPasswordLength} characters long.\n`
|
||||
);
|
||||
}
|
||||
|
||||
// Strength & Policy Validation
|
||||
|
||||
Reference in New Issue
Block a user