Calendar: Add missing CSRF checks

This commit is contained in:
johnnyq
2026-03-01 21:52:28 -05:00
parent 308dc6e550
commit e1daa14087
5 changed files with 17 additions and 1 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="<?= $_SESSION['csrf_token'] ?>">
<input type="hidden" name="calendar_id" value="<?php echo $calendar_id; ?>">
<div class="modal-body">