mirror of
https://github.com/ThunixdotNet/www.git
synced 2026-01-24 07:10:18 +00:00
testing
This commit is contained in:
@@ -17,7 +17,7 @@ $json = file_get_contents('php://input');
|
|||||||
$data = json_decode($json, true);
|
$data = json_decode($json, true);
|
||||||
|
|
||||||
$client_token = $data["secret"];
|
$client_token = $data["secret"];
|
||||||
if ($client_token !== $access_token)
|
if ($client_token != $access_token)
|
||||||
{
|
{
|
||||||
http_response_code(403);
|
http_response_code(403);
|
||||||
echo "HTTP 403 - Forbidden, P1.";
|
echo "HTTP 403 - Forbidden, P1.";
|
||||||
|
|||||||
Reference in New Issue
Block a user