add client validation

This commit is contained in:
Alex Holliday committed 2025-05-09 14:54:17 -07:00
1 parent 70441874af
commit 2f93b70d7f
1 file changed
+5
+5
View File
@@ -262,6 +262,11 @@ const settingsValidation = joi.object({
}),
pagespeedApiKey: joi.string().allow("").optional(),
language: joi.string().required(),
systemEmailHost: joi.string().allow(""),
systemEmailPort: joi.number().allow(null, ""),
systemEmailAddress: joi.string().allow(""),
systemEmailPassword: joi.string().allow(""),
systemEmailUser: joi.string().allow(""),
});
const dayjsValidator = (value, helpers) => {