Saturday, 8 September 2018

Can you do validation with if statements instead of express-validator?

What is the difference, functionally, between using the filters from express-validator, and simply doing something like if (req.body.password.length < 6) then {blah blah} else {blah}??Thanks for the help!

Submitted September 08, 2018 at 07:46AM by temporarilyembarasse

No comments:

Post a Comment