mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 16:45:35 +01: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(),
|
username: yup.string().max(255).required(),
|
||||||
password: yup.string().required(),
|
password: yup.string().required(),
|
||||||
id: yup.string().uuid(),
|
id: yup.string().uuid(),
|
||||||
role: yup
|
role: yup.string().matches(/admin|user|view-only/i),
|
||||||
.string()
|
|
||||||
.matches(/admin|user|view-only/i)
|
|
||||||
.required(),
|
|
||||||
}),
|
}),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue