mirror of
https://github.com/navidrome/navidrome.git
synced 2026-10-09 19:07:12 +02:00
fix: user's email is not mandatory
This commit is contained in:
parent
7bf110f22f
commit
b7d7251cf4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue