Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check password and confirm passwor in joi

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: #check #password #confirm #passwor #joi
ADD COMMENT
Topic
Name
3+1 =