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 3e21631..ed35f9d 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)