mirror of
https://github.com/itflow-org/itflow
synced 2026-03-12 08:44:50 +00:00
Trips: Add missing CSRF checks, we may need another permission module check for trips for now only admin and financial lv3 can delete a trip
This commit is contained in:
@@ -30,6 +30,7 @@ ob_start();
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
<div class="modal-body">
|
||||
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||
<input type="hidden" name="trip_id" value="<?php echo $trip_id; ?>">
|
||||
|
||||
<div class="form-row">
|
||||
|
||||
Reference in New Issue
Block a user