From d08ee5dd5b0112caefb2e2009e5cc061aebee2f5 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 23 Jun 2013 11:51:30 +0200 Subject: [PATCH] Temporary disable of logon_session support to verify cookie session support. --- app/controllers/sessions_controller.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 3cc8564dd..7fe9726ff 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -37,12 +37,12 @@ class SessionsController < ApplicationController logon_session_key = nil if params['logon_session'] logon_session_key = Digest::MD5.hexdigest( rand(999999).to_s + Time.new.to_s ) - session = ActiveRecord::SessionStore::Session.create( - :session_id => logon_session_key, - :data => { - :user_id => user['id'] - } - ) +# session = ActiveRecord::SessionStore::Session.create( +# :session_id => logon_session_key, +# :data => { +# :user_id => user['id'] +# } +# ) end puts ".222.."