This commit is contained in:
KANE LAZENI 2026-04-18 23:39:14 +00:00
parent 36934552be
commit 7629775c3c
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,8 @@
<?php
$token = $_SESSION['csrf_token_submieted'];
?>
<div class="container-fluid py-4">
<div class="card border-0 shadow-sm mb-4">
<div class="card-header bg-white py-3">
@ -8,6 +12,7 @@
</div>
<div class="card-body">
<form id="frmrecherche" name="frmrecherche" method="post" action="Recherche/index/">
<input type="hidden" id="csrf_token" name="csrf_token" value="<?= htmlspecialchars($token) ?>">
<div class="row g-3">
<div class="col-md-3">
<label class="form-label small fw-bold"><?= _("Numéro Bénéficiaire") ?></label>

View File

@ -32,6 +32,7 @@
$imgData = $_SESSION['photoAssureCrypte'];
$token = Csrf::generateToken();
$_SESSION['csrf_token_submieted'] = $token;
?>
<!doctype html>
@ -664,7 +665,7 @@
<!-- End #main -->
<input type="text" class="sr-only" id="numeroClient_C" name="numeroClient_C" value="<?= $this->nettoyer($_SESSION['numeroClient_C']) ?>">
<input type="text" class="sr-only" id="codeGcAssureur_C" NAME="codeGcAssureur_C" value="<?= $this->nettoyer($_SESSION['codeGcAssureur_C']) ?>">
<input type="hidden" id="csrf_token" name="csrf_token" value="<?= htmlspecialchars($token) ?>">
<!-- <input type="hidden" id="csrf_token" name="csrf_token" value="<?= htmlspecialchars($token) ?>"> -->
<button class="btn-info-context mb-2" id="showSideNav" title="<?= _("Afficher contexte")?>">
<i class="fa-solid fa fa-angle-double-left" style="font-size:24px"></i> <i class="fa fa-cog fa-spin" style="font-size:24px"></i>