a
This commit is contained in:
parent
0475c3aae6
commit
b60cf8e42a
|
|
@ -732,9 +732,10 @@
|
||||||
},
|
},
|
||||||
error: function(xhr, status, error) {
|
error: function(xhr, status, error) {
|
||||||
showError('Erreur lors de la vérification: ' + error);
|
showError('Erreur lors de la vérification: ' + error);
|
||||||
|
showError('Erreur lors de la vérification: ' + error_kane);
|
||||||
// showError(xhr.responseText);
|
// showError(xhr.responseText);
|
||||||
// console.log(error);
|
// console.log(error);
|
||||||
// console.log(xhr.responseText);
|
console.log(xhr.responseText);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -171,7 +171,6 @@ class FacialVerificationAPI {
|
||||||
'success' => false,
|
'success' => false,
|
||||||
'match' => false,
|
'match' => false,
|
||||||
'message' => $comparisonResult['error'],
|
'message' => $comparisonResult['error'],
|
||||||
// 'attempts_remaining'=> $this->maxAttempts - ($request['attempts'] + 1)
|
|
||||||
'attempts_remaining'=> ($this->maxAttempts - $request['attempts'])
|
'attempts_remaining'=> ($this->maxAttempts - $request['attempts'])
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user