mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Merge branch 'rhymix:master' into master
This commit is contained in:
commit
e5b729f8e9
152 changed files with 2348 additions and 792 deletions
|
|
@ -32,7 +32,7 @@ class reCAPTCHA
|
|||
'secret' => self::$config->secret_key,
|
||||
'response' => $response,
|
||||
'remoteip' => \RX_CLIENT_IP,
|
||||
]);
|
||||
], [], [], ['timeout' => 10]);
|
||||
if ($verify_request->getStatusCode() !== 200 || !$verify_request->getBody())
|
||||
{
|
||||
throw new Exception('msg_recaptcha_connection_error');
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ class Turnstile
|
|||
'secret' => self::$config->secret_key,
|
||||
'response' => $response,
|
||||
'remoteip' => \RX_CLIENT_IP,
|
||||
]);
|
||||
], [], [], ['timeout' => 10]);
|
||||
if ($verify_request->getStatusCode() !== 200 || !$verify_request->getBody())
|
||||
{
|
||||
throw new Exception('msg_recaptcha_connection_error');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue