add forcePasswordReset bool to user object validation

This commit is contained in:
Keviin Åberg Kultalahti 2021-05-19 13:24:14 +02:00
parent b687171abb
commit 06af8e70e6
1 changed files with 1 additions and 0 deletions

View File

@ -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(),