Temporary disable of logon_session support to verify cookie session support.
This commit is contained in:
parent
8f2f920c0f
commit
d08ee5dd5b
1 changed files with 6 additions and 6 deletions
|
@ -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.."
|
||||||
|
|
Loading…
Reference in a new issue