Fix cookie logout
This commit is contained in:
parent
f311d13ca1
commit
f648ab3445
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ end
|
||||||
-- @param id Session identifier
|
-- @param id Session identifier
|
||||||
-- @return Session data
|
-- @return Session data
|
||||||
function read(id)
|
function read(id)
|
||||||
if not id then
|
if not id or #id == 0then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if not id:match("^%w+$") then
|
if not id:match("^%w+$") then
|
||||||
|
|
Loading…
Reference in a new issue