Commit a036d5d1 authored by picklesrus's avatar picklesrus

Put the right value in the password field. This got mixed up in #3512.

parent 11c9ec37
...@@ -223,7 +223,7 @@ class UsernameStep extends React.Component { ...@@ -223,7 +223,7 @@ class UsernameStep extends React.Component {
validationClassName="validation-full-width-input" validationClassName="validation-full-width-input"
onBlur={() => validateField('password')} onBlur={() => validateField('password')}
onChange={e => { onChange={e => {
setFieldValue('password', e); setFieldValue('password', e.target.value);
setFieldTouched('password'); setFieldTouched('password');
setFieldError('password', null); setFieldError('password', null);
}} }}
...@@ -265,7 +265,7 @@ class UsernameStep extends React.Component { ...@@ -265,7 +265,7 @@ class UsernameStep extends React.Component {
validationClassName="validation-full-width-input" validationClassName="validation-full-width-input"
onBlur={() => validateField('passwordConfirm')} onBlur={() => validateField('passwordConfirm')}
onChange={e => { onChange={e => {
setFieldValue('passwordConfirm', e); setFieldValue('passwordConfirm', e.target.value);
setFieldTouched('passwordConfirm'); setFieldTouched('passwordConfirm');
setFieldError('passwordConfirm', null); setFieldError('passwordConfirm', null);
}} }}
......
Markdown is supported
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