mirror of
https://github.com/itflow-org/itflow
synced 2026-03-11 08:14:52 +00:00
Add CSRF Checks in the client portal
This commit is contained in:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user