summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-08-17 16:46:55 +0200
committerChristoph Helma <helma@in-silico.ch>2012-08-17 16:46:55 +0200
commit482e408c9f5509a2615a50247a8fe67588127a99 (patch)
tree359dc4ff417e7a82ebf7994f0870a573073ac948
parentf844ca5a9f18b8ca10275b3cc3a46053373cabbd (diff)
parente92f713ee73b70d7c6fb9ed0d754989aebf77646 (diff)
Merge branch 'development' of github.com:opentox/opentox-server into development
-rw-r--r--lib/authorization-helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/authorization-helper.rb b/lib/authorization-helper.rb
index b0b5374..5e2f1d5 100644
--- a/lib/authorization-helper.rb
+++ b/lib/authorization-helper.rb
@@ -56,7 +56,7 @@ module OpenTox
elsif !env["session"] && subjectid
unless authorized?(subjectid)
$logger.debug "URI not authorized: clean: " + clean_uri("#{request.env['rack.url_scheme']}://#{request.env['HTTP_HOST']}#{request.env['REQUEST_URI']}").sub("http://","https://").to_s + " full: #{request.env['rack.url_scheme']}://#{request.env['HTTP_HOST']}#{request.env['REQUEST_URI']} with request: #{request.env['REQUEST_METHOD']}"
- unauthorized_error "Not authorized"
+ unauthorized_error "Not authorized #{request.env['rack.url_scheme']}://#{request.env['HTTP_HOST']}#{request.env['REQUEST_URI']} with request: #{request.env['REQUEST_METHOD']}"
end
else
unauthorized_error "Not authorized" unless authorized?(subjectid)