Do not expose IDs in forms
This commit is contained in:
@@ -3,10 +3,8 @@
|
||||
</div>
|
||||
|
||||
<form action="<?= $this->url->href('TaskInternalLinkController', 'update', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'link_id' => $task_link['id'])) ?>" method="post" autocomplete="off">
|
||||
|
||||
<?= $this->form->csrf() ?>
|
||||
<?= $this->form->hidden('id', $values) ?>
|
||||
<?= $this->form->hidden('task_id', $values) ?>
|
||||
|
||||
<?= $this->form->hidden('opposite_task_id', $values) ?>
|
||||
|
||||
<?= $this->form->label(t('Label'), 'link_id') ?>
|
||||
|
||||
Reference in New Issue
Block a user