Skip to content
Snippets Groups Projects
Commit 17b885a0 authored by Pierre Ecarlat's avatar Pierre Ecarlat
Browse files

fix(ui) - Do not accept passwords with less than 8 characters

parent d367fe88
No related branches found
No related tags found
2 merge requests!783V3.0.0,!658fix(ui) - Do not accept passwords with less than 8 characters
...@@ -131,7 +131,8 @@ export class EditComponent implements OnInit { ...@@ -131,7 +131,8 @@ export class EditComponent implements OnInit {
password.match(CustomRegExp.SPECHAR) && password.match(CustomRegExp.SPECHAR) &&
password.match(CustomRegExp.DIGIT) && password.match(CustomRegExp.DIGIT) &&
password.match(CustomRegExp.UPPERCASE) && password.match(CustomRegExp.UPPERCASE) &&
password.match(CustomRegExp.LOWERCASE) password.match(CustomRegExp.LOWERCASE) &&
password.match(CustomRegExp.MINLENGTH)
); );
} }
public passwordValidConfirm(passwordConfirm: string, password: string): boolean { public passwordValidConfirm(passwordConfirm: string, password: string): boolean {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment