-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
generic error message #4
Comments
I have the same question.. how can I implement the costume message in my job validation if my code is:
For now the only solution I know is implementing a message in front end sign up page |
You can do something like this; password: JoiPasswordComplexity.string().minOfSpecialCharacters(2).minOfLowercase(2).minOfUppercase(2).minOfNumeric(2).messages({ |
the validation work but, when it fail the validation message is always the same
"message": "\"value\" must meet password complexity requirements",
is there a way to show a custom message to indicate what is need to change in the password ?
thanks
The text was updated successfully, but these errors were encountered: