1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

[ticket/17414] Remove idempotency and use user ip for check

PHPBB-17414
This commit is contained in:
Marc Alexander
2024-10-22 19:00:17 +02:00
parent 3b27b65c76
commit dd49bb4a0a

View File

@@ -139,8 +139,7 @@ class turnstile extends base
$form_data = [
'secret' => $this->config['captcha_turnstile_secret'],
'response' => $turnstile_response,
'remoteip' => $this->request->header('CF-Connecting-IP'),
//'idempotency_key' => $this->confirm_id, // check if we need this
'remoteip' => $this->user->ip,
];
// Create guzzle client