diff options
author | Steven Barth <steven@midlink.org> | 2008-08-10 12:58:05 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-10 12:58:05 +0000 |
commit | f9fa6d82da4f15473a49822d6d9dfda34144b85e (patch) | |
tree | b5a1593155a67919118e2201c244d239a87ba31f /libs/httpd/host/runluci | |
parent | 2787a7f68896663647e19a1387195ae18db7d37a (diff) |
* libs/web: Reworked authentication
Diffstat (limited to 'libs/httpd/host/runluci')
-rwxr-xr-x | libs/httpd/host/runluci | 3 |
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) |