feat(in-267): password fix

pull/188/head
Margarita 3 years ago
parent e83c4032a9
commit 603f098b12
  1. 1
      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

Loading…
Cancel
Save