I just upgraded from restful_authentication to devise, and before I
found out there was a wiki on how to do this properly, I removed all
traces of restful_authentication from my app, then installed Devise like
I normally would.
The issue I’m getting is I create an account, and when I confirm it, I
get logged in. Once I log out and try to log back in, I get invalid
username or email. I manually update my password, and I get the same
error. I read this article
but that didn’t solve the issue.
My user model
class User < ActiveRecord::Base
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable,
:token_authenticatable, :confirmable, :lockable
I tried adding :encryptable, :encryptor => :restful_authentication_sha1
but I get the same issue with or without this.
I have no restful_authentication code in the app anymore, and have no
idea what else to do…