Skip to content

Commit 2c876cd

Browse files
GaurangTandoncatarak
authored andcommitted
fixes #906 (#931)
1 parent 98d7933 commit 2c876cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/utils/reduxFormUtils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ export function validateSignup(formProps) {
7373
errors.confirmPassword = 'Please enter a password confirmation';
7474
}
7575

76-
if (formProps.password !== formProps.confirmPassword) {
77-
errors.password = 'Passwords must match';
76+
if (formProps.password !== formProps.confirmPassword && formProps.confirmPassword) {
77+
errors.confirmPassword = 'Passwords must match';
7878
}
7979

8080
return errors;

0 commit comments

Comments
 (0)