bitzesty / devise_zxcvbn

Devise plugin to reject weak passwords using zxcvbn
MIT License
194 stars 38 forks source link

Handle empty passwords #16

Closed martijn closed 8 years ago

martijn commented 8 years ago

After upgrading from 1.1.2 to 2.1.0 we noticed the Javascript (Object.matching.dictionary_match) fails when handed an empty password. This fixes that and thus restores the 1.x behavior.