#2590
@ -72,7 +72,7 @@ export class ChangePasswordComponent
required,
validatePassword(passwordRulesArr),
minLength(requiredLength),
maxLength(32),
maxLength(128),
],
},
@ -83,7 +83,7 @@ export class ChangePasswordComponent
@ -34,7 +34,7 @@ export class LoginComponent {
this.form = this.fb.group({
username: ['', [required, maxLength(255)]],
password: ['', [required, maxLength(32)]],
password: ['', [required, maxLength(128)]],
remember: [false],
});
}
@ -67,7 +67,7 @@ export class RegisterComponent implements OnInit {
password: [
'',
[required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(32)],
[required, validatePassword(passwordRulesArr), minLength(requiredLength), maxLength(128)],
email: ['', [required, email]],
@ -144,7 +144,7 @@ export class UsersComponent implements OnInit {
const passwordValidators = [
validatePassword(this.passwordRulesArr),
Validators.minLength(this.requiredPasswordLength),
Validators.maxLength(32),
Validators.maxLength(128),
];
this.form.addControl('password', new FormControl('', [...passwordValidators]));