From ed06e45d0b21987f53875615b055fcd0a1829bd6 Mon Sep 17 00:00:00 2001 From: rautenberg Date: Wed, 5 Nov 2014 12:50:35 +0100 Subject: add missing opening body tag in to_html method --- lib/opentox-client.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/opentox-client.rb b/lib/opentox-client.rb index d492fef..bafde4c 100644 --- a/lib/opentox-client.rb +++ b/lib/opentox-client.rb @@ -50,8 +50,8 @@ FALSE_REGEXP = /^(false|inactive|0|0.0|low tox|deactivating|non-carcinogen|non-m "validation.rb" ].each{ |f| require_relative f } -if defined?($aa) and $aa[:uri] - OpenTox::Authorization.authenticate($aa[:user],$aa[:password]) - unauthorized_error "Failed to authenticate user \"#{$aa[:user]}\"." unless OpenTox::Authorization.is_token_valid(OpenTox::RestClientWrapper.subjectid) -end +#if defined?($aa) and $aa[:uri] +# OpenTox::Authorization.authenticate($aa[:user],$aa[:password]) +# unauthorized_error "Failed to authenticate user \"#{$aa[:user]}\"." unless OpenTox::Authorization.is_token_valid(OpenTox::RestClientWrapper.subjectid) +#end -- cgit v1.2.3