This commit is contained in:
KANE LAZENI 2026-04-18 22:42:02 +00:00
parent 3e75b21885
commit 6c80844887
3 changed files with 1 additions and 8 deletions

View File

@ -93,9 +93,6 @@ class Vue
extract($donnees);
ob_start();
require $fichier;
// 18/04/2026 => genérer
// Csrf::field();
// Csrf::generateToken();
return ob_get_clean();
}
else {

View File

@ -8,9 +8,7 @@
// echo session_save_path();
// echo ini_get('session.gc_maxlifetime');
// echo session_id();
// var_dump($_SESSION['csrf_tokens']);
?>
<span class="login100-form-title" style="font-family: Play-Bold; color:#e5e5e5; margin-top: 12px; margin-bottom:10px;">

View File

@ -31,9 +31,7 @@
$imgData = $_SESSION['photoAssureCrypte'];
// $token = self::generateToken();
$token = Csrf::generateToken();
?>
<!doctype html>
@ -664,7 +662,7 @@
<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 class="sr-only" type="text" id="csrf_token" name="csrf_token" value="<?= $token ?>">
<input value="<?= $token ?>">
token : <input type="text" value="<?= $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>