|
|
|
@ -63,6 +63,7 @@ export const useChangePasswordForm = () => { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
setError('error_passwords_missmatch') |
|
|
|
setError('error_passwords_missmatch') |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (!checkPassword(password)) setError('check_password') |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const isMatchPasswords = (pass1: string, pass2: string) => pass1 === pass2 |
|
|
|
const isMatchPasswords = (pass1: string, pass2: string) => pass1 === pass2 |
|
|
|
|