Open paulodeon opened 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
+1
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
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