Sha256: 3daba6709ba5907c44ef70d51110f104de64a3c8b0114fe7734768422f00913a
Contents?: true
Size: 263 Bytes
Versions: 4
Compression:
Stored size: 263 Bytes
Contents
class Admin < ActiveRecord::Base devise :database_authenticatable, :radius_authenticatable attr_accessor :login def self.find_for_database_authentication(conditions) login = conditions.delete(:login) conditions[:email] = login super end end
Version data entries
4 entries across 4 versions & 1 rubygems