add forcePasswordReset bool to user object validation
This commit is contained in:
parent
01c1f0ce85
commit
dc0fb8fbfe
|
@ -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