mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 00:04:50 +00:00
document and files and folders: Add missing CSRF checks, add missing permission checks
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
</button>
|
||||
</div>
|
||||
<form action="post.php" method="post" autocomplete="off">
|
||||
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||
<input type="hidden" name="file_id" value="<?php echo $file_id; ?>">
|
||||
<div class="modal-body">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user