"You cannot" styling

This commit is contained in:
ehpersonal38
2022-06-11 09:54:29 -04:00
parent 0f68b676c6
commit daf8469b42
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ $caddypwd = $config['CADDY_PWD'];
if (!isset($_SERVER['PHP_AUTH_USER'])) {
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
echo 'You cannot edit the settings for this installation';
echo '<table><tr><td>You cannot edit the settings for this installation</td></tr></table>';
exit;
} else {
$submittedpwd = $_SERVER['PHP_AUTH_PW'];
@@ -21,7 +21,7 @@ if (!isset($_SERVER['PHP_AUTH_USER'])) {
if($submittedpwd !== $caddypwd || $submitteduser !== 'birdnet'){
header('WWW-Authenticate: Basic realm="My Realm"');
header('HTTP/1.0 401 Unauthorized');
echo 'You cannot edit the settings for this installation';
echo '<table><tr><td>You cannot edit the settings for this installation</td></tr></table>';
exit;
}
}