Invalid Get var in API redirect back to login Instead of showing error

This commit is contained in:
johnny@pittpc.com
2019-07-20 16:20:19 -04:00
parent bdcb8e3bb7
commit 8ca2b833e6
6 changed files with 7 additions and 6 deletions

View File

@@ -135,7 +135,7 @@ if($_GET['api_key'] == $config_api_key){
}
}else{
echo "<h1> Ma!! You've been BAAAAADDDDD!! </h1>";
header("Location: login.php");
}
?>