add forcePasswordReset bool to user object validation
This commit is contained in:
parent
b687171abb
commit
06af8e70e6
|
@ -12,6 +12,7 @@ function buildUserSaveValidation() {
|
|||
_rev: Joi.string(),
|
||||
email: Joi.string(),
|
||||
password: Joi.string().allow(null, ""),
|
||||
forcePasswordChange: Joi.boolean().optional(),
|
||||
builder: Joi.object({
|
||||
global: Joi.boolean().optional(),
|
||||
apps: Joi.array().optional(),
|
||||
|
|
Loading…
Reference in New Issue