mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Update references to deprecated global function checkCSRF()
This commit is contained in:
parent
cc17bbe05a
commit
0c018f1daf
6 changed files with 9 additions and 9 deletions
|
|
@ -24,7 +24,7 @@ class MemberAdminController extends Member
|
|||
// if(Context::getRequestMethod() == "GET") return new Object(-1, "msg_invalid_request");
|
||||
// Extract the necessary information in advance
|
||||
$logged_info = Context::get('logged_info');
|
||||
if($logged_info->is_admin != 'Y' || !checkCSRF())
|
||||
if($logged_info->is_admin != 'Y' || !Rhymix\Framework\Security::checkCSRF())
|
||||
{
|
||||
throw new Rhymix\Framework\Exceptions\InvalidRequest;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue