fix: Update error message for confirm new password field
This commit is contained in:
1 parent
9babbfcab4
commit
bebaad4ab3
1 file changed
+1
-1
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user