* Added native basic authentication support
[project/luci.git] / libs / sgi-haserl / luasrc / sgi / haserl.lua
index f3994b5c8c5a3caf43f3de84806f77db43997c22..35bc1c9025575eeff5f878842ab76ab79717c243 100644 (file)
@@ -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 ""