Module: Authentication::Logic::ActsAsAuthentic::Email::Config
- Defined in:
- lib/auth/logic/acts_as_authentic/email.rb
Overview
Configuration to modify how Authentication::Logic handles the email field.
Instance Method Summary collapse
-
#email_field(value = nil) ⇒ Object
(also: #email_field=)
The name of the field that stores email addresses.
Instance Method Details
#email_field(value = nil) ⇒ Object Also known as: email_field=
The name of the field that stores email addresses.
-
Default::email, if it exists -
Accepts:Symbol
24 25 26 |
# File 'lib/auth/logic/acts_as_authentic/email.rb', line 24 def email_field(value = nil) rw_config(:email_field, value, first_column_to_exist(nil, :email, :email_address)) end |