diff --git a/client/utils/reduxFormUtils.js b/client/utils/reduxFormUtils.js index 4bb74319..0f822b9b 100644 --- a/client/utils/reduxFormUtils.js +++ b/client/utils/reduxFormUtils.js @@ -64,6 +64,11 @@ export function validateSignup(formProps) { if (!formProps.password) { errors.password = 'Please enter a password'; } + if (formProps.password) { + if (formProps.password.length < 6) { + errors.password = 'Password must be at least 6 characters'; + } + } if (!formProps.confirmPassword) { errors.confirmPassword = 'Please enter a password confirmation'; }