Skip to content

Commit

Permalink
Merge pull request #250 from coralproject/registration-fix
Browse files Browse the repository at this point in the history
found the bang
  • Loading branch information
riley committed Jan 19, 2017
2 parents c207a59 + a7094ef commit 54e5a18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/coral-sign-in/components/SignUpContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ const SignUpContent = ({handleChange, formData, ...props}) => (
showErrors={props.showErrors}
errorMsg={props.errors.password}
onChange={handleChange}
minLength="8"
/>
{ !props.errors.password && <span className={styles.hint}> Password must be at least 8 characters. </span> }
{ props.errors.password && <span className={styles.hint}> Password must be at least 8 characters. </span> }
<FormField
id="confirmPassword"
type="password"
Expand All @@ -64,6 +65,7 @@ const SignUpContent = ({handleChange, formData, ...props}) => (
showErrors={props.showErrors}
errorMsg={props.errors.confirmPassword}
onChange={handleChange}
minLength="8"
/>
<div className={styles.action}>
{ !props.auth.isLoading && !props.auth.successSignUp && (
Expand Down

0 comments on commit 54e5a18

Please sign in to comment.