Closed iamdevvalecha closed 3 years ago
REFERENCE : https://express-validator.github.io/docs/custom-error-messages.html
under routes/auth.js name-> should have minimum length of 1. email -> email is required .isemail() password -> islength(min : 5)
REFERENCE : https://express-validator.github.io/docs/custom-error-messages.html
under routes/auth.js name-> should have minimum length of 1. email -> email is required .isemail() password -> islength(min : 5)