trichards57 / zxcvbn-cs

C#/.NET port of Dan Wheeler/DropBox's Zxcvbn JS password strength estimation library
MIT License
59 stars 19 forks source link

Condition logic not nested correctly #29

Closed tmijieux closed 2 years ago

tmijieux commented 3 years ago

https://github.com/trichards57/zxcvbn-cs/blob/8e0ace4be47fc241766acb742fe977a6c666abde/zxcvbn-core/Feedback.cs#L78

this condition on the dictionnary name is nested in another condition on dictionary name, it will never be true..., just as the following condition on dictionnary name