This commit is contained in:
KANE LAZENI 2026-04-23 18:39:24 +00:00
parent ff4db7c675
commit 1c22c48937
2 changed files with 3 additions and 4 deletions

View File

@ -597,7 +597,6 @@
// verificationToken = urlParams.get('token');
verificationToken = <?= $_SESSION['idDemande'] ?> ;
// v_csrf_token=$("#csrf_token").val();
// Initialisation
window.onload = function() {

View File

@ -245,9 +245,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
exit;
}
// echo json_encode(['success' => false, 'message' => 'On peut maintenant continuer']);
// exit;
$action = $input['action'] ?? null;
$api = new FacialVerificationAPI();
@ -263,6 +260,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
break;
case 'verify_face':
echo "On peut maintenant continuer";
exit;
$token = $input['token'] ?? null;
$image = $input['image'] ?? null;