Surely that was really secure.

This commit is contained in:
Lncvrt committed 2025-03-02 13:21:22 -07:00
1 parent f147a9dbaa
commit d685949eb7
5 files changed
+18 -20

No files matched your search

+5 -5
View File
@@ -9,15 +9,15 @@ $token = $_POST['captcha_token'] ?? '';
$url = 'https://challenges.cloudflare.com/turnstile/v0/siteverify';
$data = [
'secret' => '0x4AAAAAAARIYYLl4IlaAeS9Q40g-Y6QZ9M',
'response' => $token,
'remoteip' => $ip,
'secret' => $captcha_secretkey,
'response' => $token,
'remoteip' => $ip,
];
$options = [
'http' => [
'header' => 'Content-type: application/x-www-form-urlencoded',
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded',
'method' => 'POST',
'content' => http_build_query($data),
],
];
+5 -5
View File
@@ -9,15 +9,15 @@ $token = $_POST['captcha_token'] ?? '';
$url = 'https://challenges.cloudflare.com/turnstile/v0/siteverify';
$data = [
'secret' => '0x4AAAAAAARIYYLl4IlaAeS9Q40g-Y6QZ9M',
'response' => $token,
'remoteip' => $ip,
'secret' => $captcha_secretkey,
'response' => $token,
'remoteip' => $ip,
];
$options = [
'http' => [
'header' => 'Content-type: application/x-www-form-urlencoded',
'method' => 'POST',
'header' => 'Content-type: application/x-www-form-urlencoded',
'method' => 'POST',
'content' => http_build_query($data),
],
];