diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index c02186678..3cc8564dd 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -31,7 +31,8 @@ class SessionsController < ApplicationController # set session user_id user = User.find_fulldata(user.id) session[:user_id] = user['id'] - + puts "..." + puts session.inspect # check logon session logon_session_key = nil if params['logon_session'] @@ -44,6 +45,9 @@ class SessionsController < ApplicationController ) end + puts ".222.." + puts session.inspect + # return new session data render :json => { :session => user,