From 9db9eff3d833431bef00353cdb8e5e9c80487daa Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sun, 8 Jan 2017 10:18:20 +0100 Subject: [PATCH] Ensure that $auth is always set --- scripts/pi-hole/php/password.php | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/pi-hole/php/password.php b/scripts/pi-hole/php/password.php index 1c1ce4c0..4abe9cfc 100644 --- a/scripts/pi-hole/php/password.php +++ b/scripts/pi-hole/php/password.php @@ -21,6 +21,7 @@ } $wrongpassword = false; + $auth = false; // Test if password is set if(strlen($pwhash) > 0)