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

Merge branch '434-fix-new-password' into 'dev'

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

See merge request !658
parents d367fe88 17b885a0
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 {
password.match(CustomRegExp.SPECHAR) &&
password.match(CustomRegExp.DIGIT) &&
password.match(CustomRegExp.UPPERCASE) &&
password.match(CustomRegExp.LOWERCASE)
password.match(CustomRegExp.LOWERCASE) &&
password.match(CustomRegExp.MINLENGTH)
);
}
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