Commit 48d72099 authored by Ben Wheeler's avatar Ben Wheeler

remove truncation of password, passwordConfirm

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