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];