Sha256: f3ad35a7045809af1e7a1b8221735c32f95a1e98ed29499b60a0b2bacca0d2b8

Contents?: true

Size: 190 Bytes

Versions: 44

Compression:

Stored size: 190 Bytes

Contents

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

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
ahoy_matey-5.2.1 lib/ahoy/warden.rb
ahoy_matey-5.2.0 lib/ahoy/warden.rb
ahoy_matey-5.1.0 lib/ahoy/warden.rb
ahoy_matey-5.0.2 lib/ahoy/warden.rb
ahoy_matey-5.0.1 lib/ahoy/warden.rb
ahoy_matey-5.0.0 lib/ahoy/warden.rb
ahoy_matey-4.2.1 lib/ahoy/warden.rb
ahoy_matey-4.2.0 lib/ahoy/warden.rb
ahoy_matey-4.1.0 lib/ahoy/warden.rb
ahoy_matey-4.0.3 lib/ahoy/warden.rb
ahoy_matey-4.0.2 lib/ahoy/warden.rb
ahoy_matey-4.0.1 lib/ahoy/warden.rb
ahoy_matey-4.0.0 lib/ahoy/warden.rb
ahoy_matey-3.3.0 lib/ahoy/warden.rb
ahoy_matey-3.2.0 lib/ahoy/warden.rb
ahoy_matey-3.1.0 lib/ahoy/warden.rb
ahoy_matey-3.0.5 lib/ahoy/warden.rb
ahoy_matey-3.0.4 lib/ahoy/warden.rb
ahoy_matey-3.0.3 lib/ahoy/warden.rb
ahoy_matey-3.0.2 lib/ahoy/warden.rb