summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/web/luasrc')
-rw-r--r--libs/web/luasrc/dispatcher.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index b74c5bdc2..0666060ed 100644
--- a/libs/web/luasrc/dispatcher.lua
+++ b/libs/web/luasrc/dispatcher.lua
@@ -188,6 +188,9 @@ function dispatch(request)
luci.http.status(403, "Forbidden")
return
end
+ else
+ luci.http.status(403, "Forbidden")
+ return
end
end