X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=themes%2Fopenwrt%2Fluasrc%2Fview%2Fthemes%2Fopenwrt.org%2Fheader.htm;h=2366d4f2710e4a2bf37022bccbc36692f66b63c9;hb=1d9cd49387840bde99e4ffc779d46d0156f9b6b3;hp=3db844570d604f6e1469afadaa454cbb9f64dcf2;hpb=a71e4414875f5e6373887323f07f2d6c70bc1afa;p=project%2Fluci.git diff --git a/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt/luasrc/view/themes/openwrt.org/header.htm index 3db844570..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") 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.%>