Surely that was really secure.
This commit is contained in:
1 parent
f147a9dbaa
commit
d685949eb7
5 files changed
+18
-20
No files matched your search
@@ -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),
|
||||
],
|
||||
];
|
||||
|
||||
@@ -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),
|
||||
],
|
||||
];
|
||||
|
||||
Reference in new issue
Block a user