admin: restore csrf checks
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/653/head
parent
bd0c18ac0f
commit
4513b461d9
|
@ -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
|
||||
|
|
|
@ -59,8 +59,6 @@ class OtherController extends GenericApiController
|
|||
/**
|
||||
* @NoAdminRequired
|
||||
*
|
||||
* @NoCSRFRequired
|
||||
*
|
||||
* @PublicPage
|
||||
*/
|
||||
public function getUserConfig(): Http\Response
|
||||
|
|
Loading…
Reference in New Issue