diff options
Diffstat (limited to 'themes/bootstrap/luasrc')
-rw-r--r-- | themes/bootstrap/luasrc/view/themes/bootstrap/header.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm index 60c7a6ebcf..33e2e48d29 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 </header> -<%- 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 -%> <div class="container"> <div class="alert-message warning"> <h4><%:No password set!%></h4> |