WEB-562:fix(auth) align password validation with backend regex requirements (#2990)
fix the grammar
This commit is contained in:
@@ -149,7 +149,7 @@ export class CreateUserComponent implements OnInit, AfterViewInit {
|
||||
Validators.required,
|
||||
Validators.minLength(12),
|
||||
Validators.maxLength(50),
|
||||
Validators.pattern(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[\W_]).+$/)
|
||||
Validators.pattern(/^(?!.*(.)\1)(?!.*\s)(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^\w\s]).+$/)
|
||||
]
|
||||
],
|
||||
repeatPassword: [
|
||||
|
||||
Reference in New Issue
Block a user