module Authlogic::ActsAsAuthentic::Email::Config

Configuration to modify how Authlogic handles the email field.

Public Instance Methods

email_field(value = nil) click to toggle source

The name of the field that stores email addresses.

  • Default: :email, if it exists

  • Accepts: Symbol

# File lib/authlogic/acts_as_authentic/email.rb, line 23
def email_field(value = nil)
  rw_config(:email_field, value, first_column_to_exist(nil, :email, :email_address))
end
Also aliased as: email_field=
email_field=(value = nil)
Alias for: email_field