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

bypass_sign_in error #207

Open paulodeon opened 7 years ago

paulodeon commented 7 years ago

The devise bypass_sign_in method is used: https://github.com/phatworx/devise_security_extension/blob/b2ee978af7d49f0fb0e7271c6ac074dfb4d39353/app/controllers/devise/password_expired_controller.rb#L15

The method was introduced to devise in version 4.2.0: https://github.com/plataformatec/devise/commit/2044fffa25d781fcbaf090e7728b48b65c854ccb

But devise_security_extension requires devise >= 3.0: https://github.com/phatworx/devise_security_extension/blob/master/devise_security_extension.gemspec#L24

viniciusnz commented 7 years ago

+1

dowi commented 7 years ago

+1

plombix commented 6 years ago

+1

MuhammadRizwanMughal commented 6 years ago

You need to use Sign_in(user, bypass: true) if using old version of devise if using new version then use bypass_sign_in user