libs/web: Remove unneeded status call
authorSteven Barth <steven@midlink.org>
Fri, 22 Aug 2008 22:01:53 +0000 (22:01 +0000)
committerSteven Barth <steven@midlink.org>
Fri, 22 Aug 2008 22:01:53 +0000 (22:01 +0000)
libs/web/luasrc/dispatcher.lua

index 3e2163148d4a32b0db2d74f58c0ae25b38be7a21..ed35f9d9263a85293bb0ec9741bac161692be8c2 100644 (file)
@@ -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)