Sha256: e82240fea887c171b3967bd7b190580925f87f3093a221a234d867096d99b814
Contents?: true
Size: 295 Bytes
Versions: 25
Compression:
Stored size: 295 Bytes
Contents
Warden::Manager.after_authentication do |user, auth, options| if user.respond_to?(:with_authy_authentication?) if auth.session(options[:scope])[:with_authy_authentication] = user.with_authy_authentication?(auth.request) auth.session(options[:scope])[:id] = user.id end end end
Version data entries
25 entries across 25 versions & 1 rubygems