diff --git a/advanced/index.php b/advanced/index.php
index 45d9882a..4328714a 100644
--- a/advanced/index.php
+++ b/advanced/index.php
@@ -99,7 +99,7 @@ if ($serverName === "pi.hole") {
/* Start processing Block Page from here */
// Determine placeholder text based off $svPasswd presence
-$wlPlaceHolder = empty($svPasswd) ? "No admin password set" : "Javascript disabled";
+$wlPlaceHolder = empty($svPasswd) ? "" : "Javascript disabled";
// Define admin email address text based off $svEmail presence
$bpAskAdmin = !empty($svEmail) ? '' : "";
@@ -247,6 +247,10 @@ setHeader();
echo '$("#bpWLPassword").attr("placeholder", "Password");';
echo '$("#bpWLPassword").prop("disabled", false);';
}
+ // Otherwise hide the input
+ else {
+ echo '$("#bpWLPassword").hide();';
+ }
}
?>
}