This commit is contained in:
2026-02-23 01:52:42 +00:00
parent 794e89fd9e
commit 7eaa9b8531
2 changed files with 6 additions and 5 deletions

View File

@@ -40,8 +40,9 @@ class FacialVerificationAPI {
$request = $stmt->fetch(PDO::FETCH_ASSOC);
*/
$request = $assure_api->valider_token();
var_dump();
exit($request);
// exit($request);
if (!$request) {
return [
@@ -410,8 +411,8 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$input = json_decode(file_get_contents('php://input'), true);
$action = $input['action'] ?? null;
$db = new Database();
$api = new FacialVerificationAPI($db->getConnection());
// $api = new FacialVerificationAPI($db->getConnection());
$api = new FacialVerificationAPI();
switch ($action) {
case 'validate_token':