Authlogic Email Verification Extension

I recently implemented Authlogic for my authentication project. I followed http://railscasts.com/episodes/160-authlogic and turned it on. Wanting to add confirmation email, I found this and followed it: http://github.com/matthooks/authlogic-activation-tutorial

Now, when I try to register, I do not have the "login =" method for the User model. The example does not say anything about the login method, and I did not have it before.

Here is my user model: http://pastie.org/693910

Any ideas?

+4
source share
2 answers

Verify that the perishable_token row column is in the user database table.

Authlogic needs this column not only for reset_perishable_token! but also for the find_using_perishable_token method

+6
source

Railscasts uses a "username"; Matt uses the "login".

Change your "username" to "username" and you're done.

+3
source

All Articles