summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 3e2163148..ed35f9d92 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)