Skip to content
Snippets Groups Projects
Commit ab3a4b25 authored by Sebastian Mihalache's avatar Sebastian Mihalache
Browse files

feat(components-faraday): update password match message

parent 9839658e
No related branches found
No related tags found
1 merge request!14Sprint #15
......@@ -92,7 +92,7 @@ export const passwordValidator = values => {
if (!values.confirmPassword) {
errors.confirmPassword = 'Required'
} else if (values.confirmPassword !== values.password) {
errors.confirmPassword = 'Password mismatched'
errors.confirmPassword = "Passwords don't match."
}
return errors
......@@ -106,7 +106,7 @@ export const changePasswordValidator = values => {
if (!values.newPassword) {
errors.newPassword = 'Required'
} else if (values.newPassword !== values.confirmNewPassword) {
errors.confirmNewPassword = 'Password mismatched'
errors.confirmNewPassword = "Passwords don't match."
}
return errors
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment