Fix missing csrf tokens in category modals

This commit is contained in:
wrongecho
2026-03-23 16:36:15 +00:00
parent 22d33847c3
commit 619dd0d472
2 changed files with 2 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ ob_start();
</button>
</div>
<form action="post.php" method="post" autocomplete="off">
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
<input type="hidden" name="category_id" value="<?php echo $category_id; ?>">
<input type="hidden" name="type" value="<?php echo $category_type; ?>">
<div class="modal-body">