This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Express Validator Not Validating #231
Closed
Description
I believe that express-validator
was upgraded (as requested in #87) but the source code was not updated to match. As a result, no validation is being performed.
Easiest way to verify is to get a fresh repo - git clone
, npm install
, npm run build
, npm start
- and head to the sign up page. Sign up by giving passwords that are not identical, or passwords that are 1 character long, etc. No validation is performed.
I'm new to express-validator
but as far as I can tell, in the docs it specifies that you're supposed to use it as middleware now. If that's the case, should be an easy fix.
EDIT: Just checked, it does indeed work when shifted to middleware.
Metadata
Metadata
Assignees
Labels
No labels