summaryrefslogtreecommitdiffhomepage
path: root/libs
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-22 22:01:53 +0000
committerSteven Barth <steven@midlink.org>2008-08-22 22:01:53 +0000
commit69cab40a9aa145adcba2ca41841884109452774e (patch)
tree71f74b38eeb852a78422c90451aea4b0643fd5bd /libs
parent20116047b091a26fbc62e028edea89418ed3223c (diff)
libs/web: Remove unneeded status call
Diffstat (limited to 'libs')
-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)