diff options
author | Steven Barth <steven@midlink.org> | 2009-07-31 17:08:18 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2009-07-31 17:08:18 +0000 |
commit | f648ab3445df562bc3d4c607d86f19f5bc65794e (patch) | |
tree | 9298b869ffd0b311d8f7d033bd4f77a22ee6f3b2 | |
parent | f311d13ca16e079e6e9c68bc1c62fb6e94400ee5 (diff) |
Fix cookie logout
-rw-r--r-- | libs/web/luasrc/sauth.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/sauth.lua b/libs/web/luasrc/sauth.lua index 8ae24a541..c06acdd24 100644 --- a/libs/web/luasrc/sauth.lua +++ b/libs/web/luasrc/sauth.lua @@ -57,7 +57,7 @@ end -- @param id Session identifier -- @return Session data function read(id) - if not id then + if not id or #id == 0then return end if not id:match("^%w+$") then |