Merge pull request #7081 from weblate/weblate-openwrt-luci
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 25 Apr 2024 11:03:53 +0000 (13:03 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Apr 2024 11:03:53 +0000 (13:03 +0200)
Translations update from Hosted Weblate

themes/luci-theme-material/ucode/template/themes/material/header.ut

index 4a7e4cb8f1c9af70da0ca156e3b0e27eb5aafc82..b0c48b4736b8c883381154d5d54a477c5ab5daee 100644 (file)
@@ -73,7 +73,7 @@
                <div class="darkMask"></div>
                <div id="maincontent">
                        <div class="container">
-                               {% if (getuid() == 0 && getspnam('root')?.pwdp === ''): %}
+                               {% if (getuid() == 0 && getspnam('root')?.pwdp === '' && ctx.authsession): %}
                                        <div class="alert-message warning">
                                                <h4>{{ _('No password set!') }}</h4>
                                                <p>{{ _('There is no password set on this router. Please configure a root password to protect the web interface.') }}</p>