diff options
Diffstat (limited to 'libs/web')
-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 8ae24a5411..c06acdd24a 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 |