diff --git a/src/app/components/user-management/user-detail/change-user-password/change-user-password.component.ts b/src/app/components/user-management/user-detail/change-user-password/change-user-password.component.ts index 55b9394c..d688b137 100644 --- a/src/app/components/user-management/user-detail/change-user-password/change-user-password.component.ts +++ b/src/app/components/user-management/user-detail/change-user-password/change-user-password.component.ts @@ -23,7 +23,7 @@ export class ChangeUserPasswordComponent implements OnInit { private toasterService: ToasterService) { } ngOnInit(): void { - const password_regex = /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8}$/; + const password_regex = /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}$/; this.user = this.data.user; this.editPasswordForm = new UntypedFormGroup({ password: new UntypedFormControl(null,