Skip to content

Conversation

yweber
Copy link

@yweber yweber commented May 7, 2025

Hi,

I think there is a side effect bug with user_inputs in matching.omnimatch().

If zxcvbn.zxcvbn() is called once with a user_inputs list, RANKED_DICTIONARIES will still contains given user_inputs for all following zxcvbn's calls without a user_inputs given.

The 1st commit is a failing test illustrating the bug, the 2nd is the bugfix proposal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant