Joi validation Comparez deux mot de passe

password: Joi.string().required(),    
confirmPassword:Joi.string().required().valid(Joi.ref('password')),
Spotless Stag