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 { ...@@ -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.target.value.substring(0, 128)); setFieldValue('password', e);
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.target.value.substring(0, 128)); setFieldValue('passwordConfirm', e);
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