Skip to content
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
@amilner42

Description

@amilner42

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions