From: Daniel Golle Date: Tue, 2 Oct 2012 13:53:34 +0000 (+0000) Subject: themes/openwrt.org: fix previous commit X-Git-Tag: 0.11.0~19 X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=1d9cd49387840bde99e4ffc779d46d0156f9b6b3 themes/openwrt.org: fix previous commit how such a simple thing can become to complicated... Forgot the "not"... --- diff --git a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm index 4bf34e82b..2366d4f27 100644 --- a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm +++ b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm @@ -173,7 +173,7 @@ if tree.nodes[category] and tree.nodes[category].ucidata then - <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") and ( category=="failsafe" ) then -%> + <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") and not ( category=="failsafe" ) then -%>
<%:No password set!%>
<%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%>