diff --git a/scripts/pi-hole/php/password.php b/scripts/pi-hole/php/password.php index 3dc58e2a..c5c872c5 100644 --- a/scripts/pi-hole/php/password.php +++ b/scripts/pi-hole/php/password.php @@ -46,7 +46,9 @@ { $auth = true; // Refresh cookie with new expiry setcookie('persistentlogin', $pwhash, time()+60*60*24*7); + } else + { // Invalid cookie $auth = false; setcookie('persistentlogin', '');