Sha256: 5cc1287ff395cf2a7a9dfc0fbe102d2b579e66a8c183a0570de03e19551ef27d

Contents?: true

Size: 252 Bytes

Versions: 13

Compression:

Stored size: 252 Bytes

Contents

module Warden::Mixins::Common
  def request
    @request ||= ActionDispatch::Request.new(env)
  end

  # This is called internally by Warden on logout
  def reset_session!
    request.reset_session
  end

  def cookies
    request.cookie_jar
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
loyal_devise-2.2.6 lib/devise/rails/warden_compat.rb
loyal_devise-2.2.5 lib/devise/rails/warden_compat.rb
devise-3.0.1 lib/devise/rails/warden_compat.rb
devise-2.2.5 lib/devise/rails/warden_compat.rb
loyal_devise-2.1.10 lib/devise/rails/warden_compat.rb
loyal_devise-2.1.7 lib/devise/rails/warden_compat.rb
loyal_devise-2.1.6 lib/devise/rails/warden_compat.rb
devise-3.0.0 lib/devise/rails/warden_compat.rb
loyal_devise-2.1.5 lib/devise/rails/warden_compat.rb
loyal_devise-2.1.4 lib/devise/rails/warden_compat.rb
loyal_devise-2.1.3 lib/devise/rails/warden_compat.rb
devise-3.0.0.rc lib/devise/rails/warden_compat.rb
devise-2.2.4 lib/devise/rails/warden_compat.rb