a
This commit is contained in:
parent
ad628d8296
commit
ff4db7c675
|
|
@ -597,7 +597,7 @@
|
|||
// verificationToken = urlParams.get('token');
|
||||
|
||||
verificationToken = <?= $_SESSION['idDemande'] ?> ;
|
||||
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];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user