Sha256: 75e80f236d0c5d9c8d5a56e723ead1d719bb7b82bcc012cac5c078ac255ffdc0
Contents?: true
Size: 242 Bytes
Versions: 19
Compression:
Stored size: 242 Bytes
Contents
# encoding: utf-8 Warden::Strategies.add(:single) do def authenticate! request.env['warden.spec.strategies'] ||= [] request.env['warden.spec.strategies'] << :single success!("Valid User") end def store? false end end
Version data entries
19 entries across 19 versions & 6 rubygems