Ignore checkpasswd locally
authorSteven Barth <steven@midlink.org>
Sun, 21 Jun 2009 13:42:12 +0000 (13:42 +0000)
committerSteven Barth <steven@midlink.org>
Sun, 21 Jun 2009 13:42:12 +0000 (13:42 +0000)
build/setup.lua

index dbe9bdcc9ad0c7a17d535887ef6ffd5170043cdc..a3e64f3d19050e755db5b86a5c80876c18e7344a 100644 (file)
@@ -9,3 +9,5 @@
                     x(self, schemedir or SYSROOT .. "/lib/uci/schema")
             end
 
+           local sys = require "luci.sys"
+           sys.user.checkpasswd = function() return true end