fix: Update error message for confirm new password field

This commit is contained in:
Peter Carl Pardo committed 2024-12-04 01:10:39 +08:00
1 parent 9babbfcab4
commit bebaad4ab3
1 file changed
+1 -1
+1 -1
View File
@@ -82,7 +82,7 @@ const credentials = joi.object({
return value;
})
.messages({
"string.empty": "empty",
"string.empty": "This field can't be empty",
different: "Passwords do not match",
}),
role: joi.array(),