Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

authlogic email as username

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

like image 901
ADAM Avatar asked Mar 17 '10 23:03

ADAM


1 Answers

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.

like image 155
bensie Avatar answered Oct 22 '22 05:10

bensie