diff options
Diffstat (limited to 'libs/sgi-haserl')
-rw-r--r-- | libs/sgi-haserl/luasrc/sgi/haserl.lua | 6 |
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 f3994b5c8c..35bc1c9025 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 "" |