This commit is contained in:
KANE LAZENI 2026-02-23 03:00:46 +00:00
parent c22f75944f
commit 1b2f8079c2

View File

@ -1,4 +1,4 @@
try<?php
<?php
/**
* API Backend pour la vérification faciale
* Gère la validation des tokens et la comparaison des visages
@ -429,12 +429,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$input = json_decode(file_get_contents('php://input'), true);
$action = $input['action'] ?? null;
// $api = new FacialVerificationAPI($db->getConnection());
$api = new FacialVerificationAPI();
// var_dump($api);
// exit;
switch ($action) {
case 'validate_token':
$token = $input['token'] ?? null;