diff options
author | Christoph Helma <helma@in-silico.ch> | 2011-01-28 17:38:58 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2011-01-28 17:38:58 +0100 |
commit | 4edc55affca2a5312f5e9b03c874c02c0fc0dce6 (patch) | |
tree | 888430231f2ce8839b52d5ec66f335ee41859401 /helper.rb | |
parent | e4f86ba5f38e03aa6ee257be75d63dc54e07ab10 (diff) |
default login as guest
Diffstat (limited to 'helper.rb')
-rw-r--r-- | helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1,6 +1,7 @@ helpers do def login(username, password) + logout session[:subjectid] = OpenTox::Authorization.authenticate(username, password) LOGGER.debug "ToxCreate login user #{username} with subjectid: " + session[:subjectid].to_s if session[:subjectid] != nil |