bitzesty / devise_zxcvbn

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

Flipping the condition under which to validate password complexity. #34

Closed adriancb closed 5 years ago

adriancb commented 5 years ago

This PR fixes the include logic of the previous PR. By including the concern, validation should be implicit.

Flipping the logic to skip password complexity makes more sense.