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

@@ -15,6 +15,7 @@ $category_types_array = ['Expense', 'Income', 'Referral', 'Ticket'];
</button>
</div>
<form action="post.php" method="post" autocomplete="off">
<input type="hidden" name="csrf_token" value="<?php echo $_SESSION['csrf_token'] ?>">
<div class="modal-body">