Added debug info for cookie/session problem.

This commit is contained in:
Martin Edenhofer 2013-06-23 10:57:07 +02:00
parent dafb3fa423
commit bcc77f7081

View file

@ -74,9 +74,12 @@ class ApplicationController < ActionController::Base
end end
def authentication_check_only def authentication_check_only
puts '----'
puts 'authentication_check' puts 'authentication_check'
# puts params.inspect #puts params.inspect
puts session.inspect
puts cookies.inspect
puts '----'
# check http basic auth # check http basic auth
authenticate_with_http_basic do |username, password| authenticate_with_http_basic do |username, password|
puts 'http basic auth check' puts 'http basic auth check'