mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed password bug.. again
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user