[Rails] Devise help!!
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
http://jambu.posterous.com/invalid-username-and-password-in-migration-fr
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...
Any ideas?
Thanks,
~Jeremy
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home