Sha256: d522332dd693e940d6135781bfb2579963aca2f2a0523247302afbc6a026b9a2

Contents?: true

Size: 233 Bytes

Versions: 22

Compression:

Stored size: 233 Bytes

Contents

# frozen_string_literal: true

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

  def reset_session!
    request.reset_session
  end

  def cookies
    request.cookie_jar
  end
end

Version data entries

22 entries across 22 versions & 3 rubygems

Version Path
devise-4.4.1 lib/devise/rails/warden_compat.rb
devise-4.4.0 lib/devise/rails/warden_compat.rb