X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=themes%2Fbootstrap%2Fluasrc%2Fview%2Fthemes%2Fbootstrap%2Fheader.htm;h=33e2e48d29ec2dfbb8308229eb17028e4a643d1f;hp=60c7a6ebcfca7bb160591cb0051c0a26c095430d;hb=a71e4414875f5e6373887323f07f2d6c70bc1afa;hpb=ba02ccc1a54a6fd949dd0009a43917ecd3dbaef3 diff --git a/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm index 60c7a6ebc..33e2e48d2 100644 --- a/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -190,7 +190,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!%>