diff options
-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 |