summaryrefslogtreecommitdiffhomepage
path: root/libs/httpd/host/runluci
diff options
context:
space:
mode:
Diffstat (limited to 'libs/httpd/host/runluci')
-rwxr-xr-xlibs/httpd/host/runluci3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/httpd/host/runluci b/libs/httpd/host/runluci
index 6f6cdde3d..d31b3f79c 100755
--- a/libs/httpd/host/runluci
+++ b/libs/httpd/host/runluci
@@ -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)