Sha256: f3ad35a7045809af1e7a1b8221735c32f95a1e98ed29499b60a0b2bacca0d2b8

Contents?: true

Size: 190 Bytes

Versions: 45

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

45 entries across 45 versions & 1 rubygems

Version Path
ahoy_matey-1.3.1 lib/ahoy/warden.rb
ahoy_matey-1.3.0 lib/ahoy/warden.rb
ahoy_matey-1.2.2 lib/ahoy/warden.rb
ahoy_matey-1.2.1 lib/ahoy/warden.rb
ahoy_matey-1.2.0 lib/ahoy/warden.rb