#63 ✓resolved
net1957

current_user_session.user return nil

Reported by net1957 | 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.

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.

People watching this ticket

Referenced by

Pages