diff --git a/src/features/AuthServiceApp/components/ChangePassword/hooks.tsx b/src/features/AuthServiceApp/components/ChangePassword/hooks.tsx index 115877cd..8fa2f3f9 100644 --- a/src/features/AuthServiceApp/components/ChangePassword/hooks.tsx +++ b/src/features/AuthServiceApp/components/ChangePassword/hooks.tsx @@ -63,6 +63,7 @@ export const useChangePasswordForm = () => { } else { setError('error_passwords_missmatch') } + if (!checkPassword(password)) setError('check_password') } const isMatchPasswords = (pass1: string, pass2: string) => pass1 === pass2