Remove front end validation on password when editing users
This commit is contained in:
parent
c8a28ac927
commit
8e0aaf0daa
|
@ -40,9 +40,6 @@
|
||||||
if (!row.email) {
|
if (!row.email) {
|
||||||
errors = [...errors, { message: "Email is required" }]
|
errors = [...errors, { message: "Email is required" }]
|
||||||
}
|
}
|
||||||
if (!row.password) {
|
|
||||||
errors = [...errors, { message: "Password is required" }]
|
|
||||||
}
|
|
||||||
if (!row.roleId) {
|
if (!row.roleId) {
|
||||||
errors = [...errors, { message: "Role is required" }]
|
errors = [...errors, { message: "Role is required" }]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue