software licenses: Add missing CSRF checks, add missing permission checks

This commit is contained in:
johnnyq
2026-03-02 19:37:27 -05:00
parent 24b244b612
commit 1740599b61
6 changed files with 20 additions and 2 deletions

View File

@@ -15,6 +15,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="client_id" value="<?= $client_id ?>">
<div class="modal-body">