
Yeh Rishta Kya Kehlata Hai
Reported by Deleted User | March 23rd, 2009 @ 06:40 PM
hello !
I migrated to 2.0.1 gem and have a problem in def current_user :
@current_user = current_user_session && current_user_session.user
current_user_session is a valid record, but current_user_session.user return nil
So no authentication !
the only change was :
update gem to 2.0.1 and change users controller to adapt syntax :
acts_as_authentic do |c|
c.logged_in_timeout = CFG['logged_in_timeout']
end
Any idea ?
it's on rails 2.3.2 and was working with authlogic 1.4.3
Comments and changes to this ticket
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.
People watching this ticket
Attachments
Tags
Referenced by
-
64 reset_failed_login_count fail And thanks for your reactivity for ticket #63
-
119 functional testing witih rails 2.3.2 doesn't work like the documentation says And it's really from line #63 of the authlogic file.