mirror of https://github.com/itflow-org/itflow
Fix Deleting Recurring Ticket from asset details page due to missing CSRF Check token
This commit is contained in:
parent
0cacf83ae5
commit
e24ef68d8d
|
|
@ -1001,7 +1001,7 @@ if (isset($_GET['asset_id'])) {
|
|||
<?php
|
||||
if ($session_user_role == 3) { ?>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item text-danger text-bold confirm-link" href="post.php?delete_recurring_ticket=<?= $recurring_ticket_id; ?>">
|
||||
<a class="dropdown-item text-danger text-bold confirm-link" href="post.php?delete_recurring_ticket=<?= $recurring_ticket_id ?>&csrf_token=<?= $_SESSION['csrf_token'] ?>">
|
||||
<i class="fas fa-fw fa-trash mr-2"></i>Delete
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue