#63 ✓resolved
Deleted User

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']

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.

New-ticket Create new ticket

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.

Referenced by