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:
@@ -24,8 +24,8 @@ ob_start();
|
||||
</button>
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
<input type="hidden" name="task_id" value="<?php echo $task_id; ?>">
|
||||
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||
<input type="hidden" name="task_id" value="<?php echo $task_id; ?>">
|
||||
|
||||
<div class="modal-body">
|
||||
|
||||
|
||||
@@ -34,6 +34,7 @@ ob_start();
|
||||
</button>
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||
<input type="hidden" name="task_id" value="<?php echo $task_id; ?>">
|
||||
|
||||
<div class="modal-body">
|
||||
|
||||
Reference in New Issue
Block a user