havardt/PasswordValidator

[FEATURE REQUEST] Allow for maximum password length to be set

havardt opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Currently the length check only check if the given password is longer than the minimum length, but often you will also want to set an upper limit.

Describe the solution you'd like
The user should be able to set a maximum password length. The default maximum length should be 128 as described in the OWASP cheat sheet.