Add CSRF Checks in the client portal

This commit is contained in:
johnnyq
2026-03-07 13:11:08 -05:00
parent 6d2cb0aea3
commit 8de7b20ba1
10 changed files with 58 additions and 18 deletions

View File

@@ -31,6 +31,7 @@ require_once 'includes/inc_all.php';
<div class="col-md-6">
<h4>Password</h4>
<form action="post.php" method="post" autocomplete="off">
<input type="hidden" name="csrf_token" value="<?= $_SESSION['csrf_token'] ?>">
<div class="form-group">
<label>New Password</label>
<div class="input-group">
@@ -47,4 +48,3 @@ require_once 'includes/inc_all.php';
<?php
require_once 'includes/footer.php';