mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 08:14:52 +00:00
Ticket Tasks: Add missing CSRF checks and other CSRF checks missed in he previous commits
This commit is contained in:
@@ -527,7 +527,7 @@ if (isset($_GET['project_id'])) {
|
||||
<?php if ($task_completed_at) { ?>
|
||||
<i class="far fa-check-square text-success mr-2"></i>
|
||||
<?php } else { ?>
|
||||
<a href="post.php?complete_task=<?php echo $task_id; ?>">
|
||||
<a href="post.php?complete_task=<?= $task_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>">
|
||||
<i class="far fa-square text-secondary mr-2"></i>
|
||||
</a>
|
||||
<?php } ?>
|
||||
|
||||
Reference in New Issue
Block a user