Skip to content

Commit

Permalink
fix: Update error message for confirm new password field
Browse files Browse the repository at this point in the history
  • Loading branch information
peterpardo committed Dec 3, 2024
1 parent 9babbfc commit bebaad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/src/Validation/validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit bebaad4

Please sign in to comment.