add forcePasswordReset bool to user object validation

This commit is contained in:
Keviin Åberg Kultalahti 2021-05-19 13:24:14 +02:00
parent 01c1f0ce85
commit dc0fb8fbfe
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(),