a
This commit is contained in:
parent
c22f75944f
commit
1b2f8079c2
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user