search for: act_like_restful_authentication

Displaying 1 result from an estimated 1 matches for "act_like_restful_authentication".

2009 Dec 23
0
Migration from the "Restful Authentication" to "Authlogic"
...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 allow...