Skip to content

Password matching using express-validator #3

@wisammechano

Description

@wisammechano

Many students were running to issues using the password matching to 1 uppercase, 1 lowercase, and 1 number issue because the library has changed is the isStrongPassword method is not available anymore. Students have to use an advanced regular expression to test for passwords which is not a best practice and is very buggy.

It is advised to use another library for password strength checks like password-validator.

references:

https://stackoverflow.com/questions/43127814/regex-for-at-least-1-number-1-lower-case-and-1-upper-case-letter

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions