Module: Warden::Mixins::Common
- Defined in:
- lib/devise/rails/warden_compat.rb
Instance Method Summary collapse
Instance Method Details
#cookies ⇒ Object
11 12 13 |
# File 'lib/devise/rails/warden_compat.rb', line 11 def request. end |
#request ⇒ Object
2 3 4 |
# File 'lib/devise/rails/warden_compat.rb', line 2 def request @request ||= ActionDispatch::Request.new(env) end |
#reset_session! ⇒ Object
6 7 8 9 |
# File 'lib/devise/rails/warden_compat.rb', line 6 def reset_session! raw_session.inspect # why do I have to inspect it to get it to clear? raw_session.clear end |