mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
[ticket/17414] Remove idempotency and use user ip for check
PHPBB-17414
This commit is contained in:
parent
3b27b65c76
commit
dd49bb4a0a
1 changed files with 1 additions and 2 deletions
|
@ -139,8 +139,7 @@ class turnstile extends base
|
||||||
$form_data = [
|
$form_data = [
|
||||||
'secret' => $this->config['captcha_turnstile_secret'],
|
'secret' => $this->config['captcha_turnstile_secret'],
|
||||||
'response' => $turnstile_response,
|
'response' => $turnstile_response,
|
||||||
'remoteip' => $this->request->header('CF-Connecting-IP'),
|
'remoteip' => $this->user->ip,
|
||||||
//'idempotency_key' => $this->confirm_id, // check if we need this
|
|
||||||
];
|
];
|
||||||
|
|
||||||
// Create guzzle client
|
// Create guzzle client
|
||||||
|
|
Loading…
Add table
Reference in a new issue