Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

joi schema for confirm password

password: Joi.string().min(3).max(15).required(),
password_confirmation: Joi.any().valid(Joi.ref('password')).required().options({ language: { any: { allowOnly: 'must match password' } } })
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #joi #schema #confirm #password
ADD COMMENT
Topic
Name
5+8 =