From ff4db7c6752d825d6c567718a03f62748c827274 Mon Sep 17 00:00:00 2001 From: KANE LAZENI Date: Thu, 23 Apr 2026 18:35:00 +0000 Subject: [PATCH] a --- Contestation/Demandereconnaissancefaciale.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Contestation/Demandereconnaissancefaciale.php b/Contestation/Demandereconnaissancefaciale.php index 900a2cc..ce448c9 100755 --- a/Contestation/Demandereconnaissancefaciale.php +++ b/Contestation/Demandereconnaissancefaciale.php @@ -597,7 +597,7 @@ // verificationToken = urlParams.get('token'); verificationToken = ; - v_csrf_token=$("#csrf_token").val(); + // v_csrf_token=$("#csrf_token").val(); // Initialisation window.onload = function() { @@ -611,6 +611,9 @@ }; function validateToken() { + v_csrf_token=$("#csrf_token").val(); + alert("verifyPhoto => "+v_csrf_token); + $.ajax({ url: '/Contestation/verify_facial_api.php', method: 'POST', @@ -701,6 +704,9 @@ } function verifyPhoto() { + v_csrf_token=$("#csrf_token").val(); + alert("verifyPhoto => "+v_csrf_token); + showStep('step-verifying'); const base64Only = capturedImage.split(',')[1];