phatworx / devise_security_extension

An enterprise security extension for devise, trying to meet industrial standard security demands for web applications.
MIT License
747 stars 346 forks source link

Infinite loop in password_expirable #189

Open simkim opened 8 years ago

simkim commented 8 years ago

This line seems very odd : looks like an infinite loop in case of nil for expire_password_after and password_changed_at https://github.com/phatworx/devise_security_extension/blob/master/lib/devise_security_extension/models/password_expirable.rb#L38