diff --git a/src/app/profile/edit/edit.component.ts b/src/app/profile/edit/edit.component.ts index a2bbfb820d72af20ab132a3ca86d7512a7547a56..b5907621827dadff0fad7a6ad6ea2967ddae97e6 100644 --- a/src/app/profile/edit/edit.component.ts +++ b/src/app/profile/edit/edit.component.ts @@ -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 {