showing results for - "joi schema for confirm password"
Izidora
07 Jul 2020
1password: Joi.string().required(),    
2confirmPassword:Joi.string().required().valid(Joi.ref('password')),
Ricardo
30 Sep 2018
1password: Joi.string().min(3).max(15).required(),
2password_confirmation: Joi.any().valid(Joi.ref('password')).required().options({ language: { any: { allowOnly: 'must match password' } } })
3