projects
/
oweals
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
libs/web: fix "port" datatype to allow port 0
[oweals/luci.git]
/
libs
/
web
/
luasrc
/
sauth.lua
diff --git
a/libs/web/luasrc/sauth.lua
b/libs/web/luasrc/sauth.lua
index c06acdd24afb919891b83d4194fcff5d2020f33f..41681ab16a7c62f24eb6882b678cf34292afe8a8 100644
(file)
--- 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 or #id == 0then
+ if not id or #id == 0
then
return
end
if not id:match("^%w+$") then