themes/openwrt.org: fix previous commit

how such a simple thing can become to complicated... Forgot the "not"...
This commit is contained in:
Daniel Golle 2012-10-02 13:53:34 +00:00
parent 97470c05f6
commit 1d9cd49387

View file

@ -173,7 +173,7 @@ if tree.nodes[category] and tree.nodes[category].ucidata then
</div> </div>
</noscript> </noscript>
<%- 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 -%>
<div class="errorbox"> <div class="errorbox">
<strong><%:No password set!%></strong><br /> <strong><%:No password set!%></strong><br />
<%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%><br /> <%:There is no password set on this router. Please configure a root password to protect the web interface and enable SSH.%><br />