* libs/web: Reworked authentication
[project/luci.git] / libs / httpd / host / runluci
index 6f6cdde3df033687f9793f28d8bac6071d3ba954..d31b3f79c5d84e0302eac8d74acd8026cc8c3d2b 100755 (executable)
@@ -23,6 +23,9 @@ if pcall(require, "uci") and pcall(require, "luci.model.uci") then
        luci.model.uci.set_confdir(luci.model.uci.confdir_default)
 end
 
+require("luci.sys")
+luci.sys.user.checkpasswd = function() return true end
+
 
 filehandler = luci.httpd.handler.file.Simple(DOCROOT)
 vhost:set_default_handler(filehandler)