Fix cookie logout

This commit is contained in:
Steven Barth 2009-07-31 17:08:18 +00:00
parent f311d13ca1
commit f648ab3445

View file

@ -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