mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 19:42:15 +09:00
Update turnstile.php
This commit is contained in:
parent
da51d62e3d
commit
715f71c41b
1 changed files with 5 additions and 0 deletions
|
|
@ -22,6 +22,11 @@ class Turnstile
|
||||||
|
|
||||||
public static function check()
|
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');
|
$response = Context::get('g-recaptcha-response');
|
||||||
if (!$response)
|
if (!$response)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue