mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
Remove required.
This commit is contained in:
parent
bb77c2ead6
commit
88d67c7b0b
1 changed files with 1 additions and 4 deletions
|
|
@ -25,10 +25,7 @@ const schema = {
|
|||
username: yup.string().max(255).required(),
|
||||
password: yup.string().required(),
|
||||
id: yup.string().uuid(),
|
||||
role: yup
|
||||
.string()
|
||||
.matches(/admin|user|view-only/i)
|
||||
.required(),
|
||||
role: yup.string().matches(/admin|user|view-only/i),
|
||||
}),
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue