mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 07:33:17 +00:00
Delete log
This commit is contained in:
parent
3acec21d68
commit
455077b786
@ -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' }] });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user