removed unwarranted relaxation of CSRF check

This commit is contained in:
benson
2022-12-22 23:36:23 +08:00
parent d88e100981
commit 892542b857
5 changed files with 3 additions and 19 deletions

View File

@@ -38,11 +38,10 @@ class Aria2Controller extends Controller
$this->aria2->init();
$this->dbconn = new DbHelper();
$this->counters = new Counters($aria2, $this->dbconn, $UserId);
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function Action($path)
{
@@ -130,7 +129,6 @@ class Aria2Controller extends Controller
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function getStatus($path)
{