Skip to content

Complexify bans passwords containing banned words #31

Description

@Download

Please go to the complexify homepage and type in this password:

Id0ntTh!nkTh1sB4gSh04ldGet4Fr33Pass

Notice how its complexity is 0%.
Now remove the last letter:

Id0ntTh!nkTh1sB4gSh04ldGet4Fr33Pas

Notice how its complexity is now 100%.

The docs on banMode state that:

banMode:

Either:

  • strict: If a password is contained in the banned list, or contained in any item of the banned list, the password will fail. This means that "123456" will fail as it is in the banned list, but "123" and "345" will also fail as they are substrings of a password in the list.
  • loose: If a password exactly matches one in the banned list, the password will fail.

My password is not in the banned list, nor is it a substring of any item in the banned list. It contains an item from the banned list, but as I read the docs that should be ok?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions