{% if (getuid() == 0 && getspnam('root')?.pwdp === ''): %}
-
+
{% endif %}
{% if (boardinfo?.rootfs_type == "initramfs"): %}
diff --git a/themes/luci-theme-material/ucode/template/themes/material/header.ut b/themes/luci-theme-material/ucode/template/themes/material/header.ut index 24b2c73517..ed6a637978 100644 --- a/themes/luci-theme-material/ucode/template/themes/material/header.ut +++ b/themes/luci-theme-material/ucode/template/themes/material/header.ut @@ -73,7 +73,13 @@