summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-haserl/luasrc/sgi/haserl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'libs/sgi-haserl/luasrc/sgi/haserl.lua')
-rw-r--r--libs/sgi-haserl/luasrc/sgi/haserl.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/sgi-haserl/luasrc/sgi/haserl.lua b/libs/sgi-haserl/luasrc/sgi/haserl.lua
index f3994b5c8..35bc1c902 100644
--- a/libs/sgi-haserl/luasrc/sgi/haserl.lua
+++ b/libs/sgi-haserl/luasrc/sgi/haserl.lua
@@ -29,6 +29,12 @@ require("luci.fs")
-- Environment Table
luci.http.env = ENV
+-- Enforces user authentification
+function luci.http.basic_auth(verify_callback, realm)
+ -- Dummy for Haserl
+ return true
+end
+
-- Returns the main dispatcher URL
function luci.http.dispatcher()
return luci.http.env.SCRIPT_NAME or ""