X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=themes%2Ffreifunk-generic%2Fluasrc%2Fview%2Fthemes%2Ffreifunk-generic%2Fheader.htm;h=25068a2d185c0ed4ec34e0019ec028b7bad3a80a;hp=8787faed362fd53c9c9860d11caba48929490ce5;hb=a71e4414875f5e6373887323f07f2d6c70bc1afa;hpb=ba02ccc1a54a6fd949dd0009a43917ecd3dbaef3 diff --git a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm index 8787faed36..25068a2d18 100644 --- a/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm +++ b/themes/freifunk-generic/luasrc/view/themes/freifunk-generic/header.htm @@ -94,7 +94,7 @@ You may obtain a copy of the License at -<%- if 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") 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.%>