mirror of
https://github.com/itflow-org/itflow
synced 2026-03-19 20:24:51 +00:00
Add hidden form field to folder modals as well
This commit is contained in:
@@ -16,6 +16,7 @@ ob_start();
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||||
<input type="hidden" name="client_id" value="<?= $client_id ?>">
|
<input type="hidden" name="client_id" value="<?= $client_id ?>">
|
||||||
<input type="hidden" name="parent_folder" value="<?= $current_folder_id ?>">
|
<input type="hidden" name="parent_folder" value="<?= $current_folder_id ?>">
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ ob_start();
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<form action="post.php" method="post" autocomplete="off">
|
<form action="post.php" method="post" autocomplete="off">
|
||||||
|
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
|
||||||
<input type="hidden" name="folder_id" value="<?php echo $folder_id; ?>">
|
<input type="hidden" name="folder_id" value="<?php echo $folder_id; ?>">
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user