module Devise::Models::DatabaseAuthenticatable::ClassMethods

def find_for_database_authentication(conditions)

the proper fields.
your own, be sure to sanitize the conditions hash to only include
DatabaseAuthenticatable strategy. If you are using this method on
We assume this method already gets the sanitized values from the
def find_for_database_authentication(conditions)
  find_for_authentication(conditions)
end