summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/web/luasrc')
-rw-r--r--libs/web/luasrc/dispatcher.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index 3e2163148d..ed35f9d926 100644
--- a/libs/web/luasrc/dispatcher.lua
+++ b/libs/web/luasrc/dispatcher.lua
@@ -189,7 +189,6 @@ function dispatch(request)
if authen then
local user = authen(luci.sys.user.checkpasswd, def)
if not user or not luci.util.contains(accs, user) then
- luci.http.status(403, "Forbidden")
return
else
local sid = luci.sys.uniqueid(16)