mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-05-05 07:59:30 -05:00
Updated register page and validation to new role schema
This commit is contained in:
@@ -68,9 +68,7 @@ const credentials = joi.object({
|
||||
}
|
||||
return value;
|
||||
}),
|
||||
role: joi.string().messages({
|
||||
"string.empty": "Role is required",
|
||||
}),
|
||||
role: joi.array().required(),
|
||||
});
|
||||
|
||||
const monitorValidation = joi.object({
|
||||
|
||||
Reference in New Issue
Block a user