dropbox / zxcvbn-ios

A realistic password strength estimator.
https://tech.dropbox.com/2012/04/zxcvbn-realistic-password-strength-estimation/
MIT License
223 stars 64 forks source link

Fixed if expression #12

Closed pfandrade closed 8 years ago

pfandrade commented 9 years ago

The previous expression would evaluate like this:

(12 <= month) <= 31

Being that the return from (12 <= month) would always be 0 or 1.

leah commented 8 years ago

Fixed in 27d7105a6892ba0f8ee1ca6726975f8dc92da6aa