a
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user