Added debug info for cookie/session problem.
This commit is contained in:
parent
dafb3fa423
commit
bcc77f7081
1 changed files with 5 additions and 2 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue