Class: ActionDispatch::Request
- Inherits:
-
Object
- Object
- ActionDispatch::Request
- Defined in:
- lib/devise/rails/warden_compat.rb
Instance Method Summary collapse
Instance Method Details
#reset_session ⇒ Object
105 106 107 108 109 |
# File 'lib/devise/rails/warden_compat.rb', line 105 def reset_session session.destroy if session && session.respond_to?(:destroy) self.session = {} @env['action_dispatch.request.flash_hash'] = nil end |