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
|
* @AdminRequired
|
||||||
*
|
|
||||||
* @NoCSRFRequired
|
|
||||||
*/
|
*/
|
||||||
public function getSystemConfig(): Http\Response
|
public function getSystemConfig(): Http\Response
|
||||||
{
|
{
|
||||||
|
@ -81,8 +79,6 @@ class AdminController extends GenericApiController
|
||||||
/**
|
/**
|
||||||
* @AdminRequired
|
* @AdminRequired
|
||||||
*
|
*
|
||||||
* @NoCSRFRequired
|
|
||||||
*
|
|
||||||
* @UseSession
|
* @UseSession
|
||||||
*/
|
*/
|
||||||
public function getSystemStatus(): Http\Response
|
public function getSystemStatus(): Http\Response
|
||||||
|
|
|
@ -59,8 +59,6 @@ class OtherController extends GenericApiController
|
||||||
/**
|
/**
|
||||||
* @NoAdminRequired
|
* @NoAdminRequired
|
||||||
*
|
*
|
||||||
* @NoCSRFRequired
|
|
||||||
*
|
|
||||||
* @PublicPage
|
* @PublicPage
|
||||||
*/
|
*/
|
||||||
public function getUserConfig(): Http\Response
|
public function getUserConfig(): Http\Response
|
||||||
|
|
Loading…
Reference in New Issue