Hi,
I am using Authlogic for authentication.
Previously our application having a "Restful Authentication". We have
users who are created by using the "Restful Authentication".
My problem is these users will not able to login with Authlogic as the
password encryption methods are different for both and I am getting
"Password not valid" error.
So I searched for that and I got the solution like this:- Add following
lines in the users.rb
"# app/models/user.rb
class User < ActiveRecord::Base
acts_as_authentic do |c|
c.act_like_restful_authentication = true
end
end
"
Here is the link that I got the solution:-
http://www.binarylogic.com/2008/11/23/tutorial-easily-migrate-from-restful_authentication-to-authlogic/
By adding the code in the users.rb the existing users are able to login
but whenever I am creating a new user, it is not allowing me to log in.
It is giving me error "Password not valid"
Can anyone tell me how should I fix this?
It is very urgent.
Thanks,
Tushar Gandhi.
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.