We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98d7933 commit 2c876cdCopy full SHA for 2c876cd
client/utils/reduxFormUtils.js
@@ -73,8 +73,8 @@ export function validateSignup(formProps) {
73
errors.confirmPassword = 'Please enter a password confirmation';
74
}
75
76
- if (formProps.password !== formProps.confirmPassword) {
77
- errors.password = 'Passwords must match';
+ if (formProps.password !== formProps.confirmPassword && formProps.confirmPassword) {
+ errors.confirmPassword = 'Passwords must match';
78
79
80
return errors;
0 commit comments