From e9de940527a1cfde51f4853da2efc436d0c359b2 Mon Sep 17 00:00:00 2001 From: KasperRT Date: Fri, 24 Oct 2014 01:58:38 +0200 Subject: [PATCH] Fixed password bug.. again --- php/change.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/change.php b/php/change.php index 07317811..09c7e3a7 100755 --- a/php/change.php +++ b/php/change.php @@ -214,7 +214,7 @@ else if(isset($_GET['skip'])){ //skip, //$data["conf"]["frontpage"] = $frontpage; //$data["conf"]["allvideos"] = $allvideos; //$data["conf"]["removeplay"] = $removeplay; - if($data["conf"]["adminpass"] == $pass || $q != 1) //if the password is the same as the one in the jsonfile, we are updating the settings (not in use yet) + if($data["conf"]["adminpass"] == $pass || $q != 1 || $data["conf"]["adminpass"] == "") //if the password is the same as the one in the jsonfile, we are updating the settings (not in use yet) { echo "correct"; file_put_contents($list, json_encode($data));