Delete log

This commit is contained in:
Jim LAURIE 2018-09-28 19:43:03 +02:00 committed by GitHub
parent 3acec21d68
commit 455077b786
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,8 +75,6 @@ export class AuthPage extends React.Component { // eslint-disable-line react/pre
acc.push({ name: key, errors: [{ id: 'components.Input.error.validation.required' }] });
}
console.log(this.props.modifiedData.password.length);
if (!isEmpty(get(this.props.modifiedData, 'password')) && !isEmpty(get(this.props.modifiedData, 'confirmPassword')) && findIndex(acc, ['name', 'confirmPassword']) === -1) {
if (this.props.modifiedData.password.length < 6) {
acc.push({ name: 'password', errors: [{ id: 'users-permissions.components.Input.error.password.length' }] });