Avoid people to alter other projects by changing form data
This commit is contained in:
@@ -49,6 +49,7 @@ class TaskCreationController extends BaseController
|
||||
{
|
||||
$project = $this->getProject();
|
||||
$values = $this->request->getValues();
|
||||
$values['project_id'] = $project['id'];
|
||||
|
||||
list($valid, $errors) = $this->taskValidator->validateCreation($values);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user