I am using authlogic with rails application for authentication. The perishable token is reset after the user resets his password. Consider this case. A user signs up, he forgets to activate the account and he also forgets the passwords. So he resets the password. Due to this his activation link no longer remains valid. So he cannot activate his account. When he tries to login he get an error that the account is not activated. The user is stuck!.
What solution I found was to resend the activation link every time the login is prevented due the problem that the account is not activated.
Now the problem is that I need to check what type of error it is when the user tries to login, so that I can resend the activation email.
Regards, Pankaj