Add missing CSRF checks
This commit is contained in:
committed by
fguillot
parent
41102ec161
commit
71123b0f37
@@ -16,6 +16,7 @@ class TaskModificationController extends BaseController
|
||||
{
|
||||
public function assignToMe()
|
||||
{
|
||||
$this->checkReusableGETCSRFParam();
|
||||
$task = $this->getTask();
|
||||
$values = ['id' => $task['id'], 'owner_id' => $this->userSession->getId()];
|
||||
|
||||
@@ -38,6 +39,7 @@ class TaskModificationController extends BaseController
|
||||
*/
|
||||
public function start()
|
||||
{
|
||||
$this->checkReusableGETCSRFParam();
|
||||
$task = $this->getTask();
|
||||
$values = ['id' => $task['id'], 'date_started' => time()];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user