diff --git a/scripts/pi-hole/php/password.php b/scripts/pi-hole/php/password.php index acb404ab..77ee2863 100644 --- a/scripts/pi-hole/php/password.php +++ b/scripts/pi-hole/php/password.php @@ -43,7 +43,7 @@ // Login successful, redirect the user to the homepage to discard the POST request if ($_SERVER['REQUEST_METHOD'] === 'POST' && $_SERVER['QUERY_STRING'] === 'login') { - header(sprintf('Location: index.php')); + header('Location: index.php'); exit(); }