* Fixed host builds
[project/luci.git] / libs / sgi-webuci / root / usr / lib / boa / luci.lua
index e34bd5e..39cee1c 100644 (file)
@@ -40,6 +40,7 @@ function init(path)
                luci.sys.wifi.iwscan            = function() return {} end
                
                luci.sys.user.checkpasswd   = function() return true end
+               luci.http.basic_auth = function() return true end
        end
 end
 
@@ -47,6 +48,7 @@ function prepare_req(uri)
        luci.dispatcher.createindex()
        env = {}
        env.REQUEST_URI = uri
+       -- TODO: setting luci-plugin.reload = true allows this function to trigger a context reload
 end
 
 function handle_req(context)