themes/openwrt.org: disable 'password not set' warning in failsafe mode
Signed-off-by: Daniel Golle <dgolle@allnet.de>
This commit is contained in:
parent
1dbb1da4d9
commit
bce5060da6
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ if tree.nodes[category] and tree.nodes[category].ucidata then
|
|||
</div>
|
||||
</noscript>
|
||||
|
||||
<%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") 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">
|
||||
<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 />
|
||||
|
|
Loading…
Reference in a new issue