开发者

Transition from restful authentication to authlogic in not working in rails

I'm using restful authentication in rails. Now I just want to change it to Authlogic.

I used

  acts_as_authentic do |c|
    c.transition_from_restful_authentication = tru开发者_开发技巧e
  end

and changed the password and salt field to 128 characters.But, if I create a new user crypted password length is 40 characters length(Its not changing to 128 as in authlogic).

Plz suggest me, how to change from restful to Authlogic from the start.

i.e I have restful authentication now.(how to change it to authlogic..plz explain from start)


Here's a detailed tutorial.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜