projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* libs/web: Reworked authentication
[project/luci.git]
/
libs
/
httpd
/
host
/
runluci
diff --git
a/libs/httpd/host/runluci
b/libs/httpd/host/runluci
index
6f6cdde
..
d31b3f7
100755
(executable)
--- 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)