havardt/PasswordValidator

[BUG] Password is invalid when no checks have been added

havardt opened this issue · 0 comments

Describe the bug
Password is invalid when no checks have been added.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new validator object with no checks added.
  2. Call Validate method.

Expected behavior
Validation should default to valid when no checks have been added as there is no check to fail and thus by definition the password is valid.