a
This commit is contained in:
@@ -4,12 +4,9 @@
|
||||
* Gère la validation des tokens et la comparaison des visages
|
||||
*/
|
||||
|
||||
// header('Content-Type: application/json');
|
||||
header('Content-Type: text/html; charset=UTF-8');
|
||||
// require_once 'config.php';
|
||||
// require_once 'database.php';
|
||||
// require_once "Assure.php";
|
||||
session_start();
|
||||
|
||||
header('Content-Type: application/json');
|
||||
|
||||
class FacialVerificationAPI {
|
||||
// private $db;
|
||||
@@ -18,8 +15,6 @@ class FacialVerificationAPI {
|
||||
|
||||
// public function __construct($db) {
|
||||
public function __construct() {
|
||||
// $this->db = $db;
|
||||
// $assure_api = new Assure();
|
||||
$assure_api = $_SESSION['assure'];
|
||||
$maxAttempts = $assure_api->get_nbTentativeBiometrie($_SESSION['codeEntite']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user