[Fact]
public void TestWithUserInput()
{
var result = Zxcvbn.Core.EvaluatePassword("weberweber1", new List<string> { "weber" });
result.MatchSequence.Should().Contain(x => x.GetType() == typeof(DictionaryMatch));
}
The Score is 2 with or without the user_input.
react-password-strength-bar (which uses dropbox/zxcvbn) returns a "weak" scoring 1.
That is actually the appropriate result. Does anyone have an idea why I get a scoring of 2 instead of 1?
Hi,
This test failes:
The Score is 2 with or without the user_input.
react-password-strength-bar (which uses dropbox/zxcvbn) returns a "weak" scoring 1. That is actually the appropriate result. Does anyone have an idea why I get a scoring of 2 instead of 1?