authlogic email as username

authlogic, ruby, ruby-on-rails

Solution

If you simply remove the `login` column and add an `email` column, authlogic will do the rest.

See this example readme for all the optional/required DB columns.

Problem

How do i override/set authlogic to use the email field instead of the username field for both signup and authentication, having a username + an email is occasionally too intense for some some registration scenarios

Original source