libs/web: Remove unneeded status call
This commit is contained in:
parent
20116047b0
commit
69cab40a9a
1 changed files with 0 additions and 1 deletions
|
@ -189,7 +189,6 @@ function dispatch(request)
|
||||||
if authen then
|
if authen then
|
||||||
local user = authen(luci.sys.user.checkpasswd, def)
|
local user = authen(luci.sys.user.checkpasswd, def)
|
||||||
if not user or not luci.util.contains(accs, user) then
|
if not user or not luci.util.contains(accs, user) then
|
||||||
luci.http.status(403, "Forbidden")
|
|
||||||
return
|
return
|
||||||
else
|
else
|
||||||
local sid = luci.sys.uniqueid(16)
|
local sid = luci.sys.uniqueid(16)
|
||||||
|
|
Loading…
Reference in a new issue