Temporary disable of logon_session support to verify cookie session support.

This commit is contained in:
Martin Edenhofer 2013-06-23 11:51:30 +02:00
parent 8f2f920c0f
commit d08ee5dd5b

View file

@ -37,12 +37,12 @@ class SessionsController < ApplicationController
logon_session_key = nil logon_session_key = nil
if params['logon_session'] if params['logon_session']
logon_session_key = Digest::MD5.hexdigest( rand(999999).to_s + Time.new.to_s ) logon_session_key = Digest::MD5.hexdigest( rand(999999).to_s + Time.new.to_s )
session = ActiveRecord::SessionStore::Session.create( # session = ActiveRecord::SessionStore::Session.create(
:session_id => logon_session_key, # :session_id => logon_session_key,
:data => { # :data => {
:user_id => user['id'] # :user_id => user['id']
} # }
) # )
end end
puts ".222.." puts ".222.."