Sha256: 1f2d3499a1bf03412c5ebd3c94b63e17ce187605ffd9399cd87fdaa5032f20e2

Contents?: true

Size: 193 Bytes

Versions: 5

Compression:

Stored size: 193 Bytes

Contents

Warden::Manager.after_set_user except: :fetch do |user, auth, opts|
  request = ActionDispatch::Request.new(auth.env)
  ahoy = Ahoy::Tracker.new(request: request)
  ahoy.authenticate(user)
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ahoy_matey-1.1.1 lib/ahoy/warden.rb
ahoy_matey-1.1.0 lib/ahoy/warden.rb
ahoy_matey-1.0.2 lib/ahoy/warden.rb
ahoy_matey-1.0.1 lib/ahoy/warden.rb
ahoy_matey-1.0.0 lib/ahoy/warden.rb