diff options
author | rautenberg <rautenberg@in-silico.ch> | 2012-03-29 18:08:26 +0200 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2012-03-29 18:08:26 +0200 |
commit | 2551ed827399c20f571fa72edef5a59682ec5700 (patch) | |
tree | adca70072a1ae91d1ad5544ec1ef3601f79b4066 | |
parent | 057ded12cf3038378c974a3dd5ba06ac1f9d3109 (diff) |
fix logout error
-rw-r--r-- | lib/authorization.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/authorization.rb b/lib/authorization.rb index 33fa0a4..a6d584c 100644 --- a/lib/authorization.rb +++ b/lib/authorization.rb @@ -101,6 +101,8 @@ module OpenTox return true if !AA begin return true if RestClientWrapper.post("#{AA}/auth/isTokenValid",:tokenid => subjectid) == "boolean=true\n" + rescue + return false end return false end |