mirror of
https://github.com/itflow-org/itflow
synced 2026-03-24 14:35:38 +00:00
Fix missing csrf tokens in category modals
This commit is contained in:
@@ -15,6 +15,7 @@ $category_types_array = ['Expense', 'Income', 'Referral', 'Ticket'];
|
|||||||
</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="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
|
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
|
||||||
|
|||||||
@@ -21,6 +21,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="<?php echo $_SESSION['csrf_token'] ?>">
|
||||||
<input type="hidden" name="category_id" value="<?php echo $category_id; ?>">
|
<input type="hidden" name="category_id" value="<?php echo $category_id; ?>">
|
||||||
<input type="hidden" name="type" value="<?php echo $category_type; ?>">
|
<input type="hidden" name="type" value="<?php echo $category_type; ?>">
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
|
|||||||
Reference in New Issue
Block a user