Could you try any of those :
* disable autologin
* log in without using LDAP
* the attached patch

Regards,
Jérémy Lal

--- app/controllers/account_controller.rb	2011-08-12 07:03:52.904898965 +0200
+++ app/controllers/account_controller.rb.new	2011-08-12 07:05:28.622685332 +0200
@@ -204,7 +204,7 @@
     # generate a key and set cookie if autologin
     if params[:autologin] && Setting.autologin?
       token = Token.create(:user => user, :action => 'autologin')
-      cookies[:autologin] = { :value => token.value, :expires => 1.year.from_now }
+      cookies[:autologin] = { :value => token.value.to_s, :expires => 1.year.from_now }
     end
     call_hook(:controller_account_success_authentication_after, {:user => user })
     redirect_back_or_default :controller => 'my', :action => 'page'

Reply via email to