Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to write custom message for repeat password in joi

repeat_password: Joi.any().valid(Joi.ref("password")).required().messages({
    "any.only": "Repeat Password doesn't match!",
  }),
 
PREVIOUS NEXT
Tagged: #write #custom #message #repeat #password #joi
ADD COMMENT
Topic
Name
6+2 =