admin: restore csrf checks

Signed-off-by: Varun Patil <radialapps@gmail.com>
pull/653/head
Varun Patil 2023-05-15 12:19:03 -07:00
parent bd0c18ac0f
commit 4513b461d9
2 changed files with 0 additions and 6 deletions

View File

@ -34,8 +34,6 @@ class AdminController extends GenericApiController
{
/**
* @AdminRequired
*
* @NoCSRFRequired
*/
public function getSystemConfig(): Http\Response
{
@ -81,8 +79,6 @@ class AdminController extends GenericApiController
/**
* @AdminRequired
*
* @NoCSRFRequired
*
* @UseSession
*/
public function getSystemStatus(): Http\Response

View File

@ -59,8 +59,6 @@ class OtherController extends GenericApiController
/**
* @NoAdminRequired
*
* @NoCSRFRequired
*
* @PublicPage
*/
public function getUserConfig(): Http\Response