From 2b0ad7c00ec9559d05e07e78cee5f7846d51ee5f Mon Sep 17 00:00:00 2001 From: Christoph Helma Date: Thu, 3 Mar 2011 11:35:54 +0100 Subject: login methods in to-html.rb removed, interferes with ToxCreate login --- Rakefile | 1 + lib/to-html.rb | 2 ++ 2 files changed, 3 insertions(+) mode change 100755 => 100644 lib/to-html.rb diff --git a/Rakefile b/Rakefile index eb0b23a..b496cc2 100644 --- a/Rakefile +++ b/Rakefile @@ -28,6 +28,7 @@ begin "tmail", "rinruby", "ohm", + "SystemTimer", "rjb" ].each { |dep| gem.add_dependency dep } =begin diff --git a/lib/to-html.rb b/lib/to-html.rb old mode 100755 new mode 100644 index 1f30ca1..6785974 --- a/lib/to-html.rb +++ b/lib/to-html.rb @@ -83,6 +83,7 @@ module OpenTox end end +=begin get '/logout/?' do response.set_cookie("subjectid",{:value=>nil}) content_type "text/html" @@ -107,4 +108,5 @@ post '/login/?' do OpenTox.login("Login failed, please try again") end end +=end -- cgit v1.2.3