diff options
author | Steven Barth <steven@midlink.org> | 2008-06-02 17:49:27 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-06-02 17:49:27 +0000 |
commit | f56890a5733b3c57d088b52bf91a77c44976ca99 (patch) | |
tree | e835d0e242cf957bc8b0d0cce1eb5551c3d4a321 /libs/sgi-haserl/luasrc/sgi | |
parent | 92d76ed83603e50321f171996fc78cef0a6d3580 (diff) |
* Added native basic authentication support
* Cleanups
Diffstat (limited to 'libs/sgi-haserl/luasrc/sgi')
-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 "" |