Skip to content

Commit

Permalink
fix: user's email is not mandatory
Browse files Browse the repository at this point in the history
  • Loading branch information
deluan committed Jan 27, 2020
1 parent 7bf110f commit b7d7251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/user/UserEdit.js
Expand Up @@ -19,7 +19,7 @@ const UserEdit = (props) => (
<SimpleForm>
<TextInput source="userName" validate={[required()]} />
<TextInput source="name" validate={[required()]} />
<TextInput source="email" validate={[required(), email()]} />
<TextInput source="email" validate={[email()]} />
<PasswordInput source="password" validate={[required()]} />
<BooleanInput source="isAdmin" initialValue={false} />
<DateField source="lastLoginAt" showTime />
Expand Down

0 comments on commit b7d7251

Please sign in to comment.