a
This commit is contained in:
parent
33262e8937
commit
d6347ce8d1
|
|
@ -761,7 +761,7 @@
|
|||
countdownEl.textContent = `Redirection dans ${remaining} secondes...`;
|
||||
remaining--;
|
||||
|
||||
if (remaining <= 0) {
|
||||
if (remaining < 0) {
|
||||
clearInterval(interval);
|
||||
callback();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -191,7 +191,8 @@ class FacialVerificationAPI {
|
|||
'success' => false,
|
||||
'match' => false,
|
||||
'message' => $comparisonResult['error'],
|
||||
'attempts_remaining'=> $this->maxAttempts - ($request['attempts'] + 1)
|
||||
// 'attempts_remaining'=> $this->maxAttempts - ($request['attempts'] + 1)
|
||||
'attempts_remaining'=> $this->maxAttempts - $request['attempts'])
|
||||
];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user