mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-21 15:54:15 +01:00
.
This commit is contained in:
parent
6cc547f791
commit
0d105e5ecc
@ -163,9 +163,9 @@ if ($sync->countersEqual($localParams, $otpParams) &&
|
|||||||
|
|
||||||
/* Check the OTP counters against local db */
|
/* Check the OTP counters against local db */
|
||||||
if ($sync->countersHigherThanOrEqual($localParams, $otpParams)) {
|
if ($sync->countersHigherThanOrEqual($localParams, $otpParams)) {
|
||||||
$sync->log('warning', 'replayed OTP: Local counters higher');
|
$sync->log(LOG_WARNING, 'replayed OTP: Local counters higher');
|
||||||
$sync->log('warning', 'replayed OTP: Local counters ', $localParams);
|
$sync->log(LOG_WARNING, 'replayed OTP: Local counters ', $localParams);
|
||||||
$sync->log('warning', 'replayed OTP: Otp counters ', $otpParams);
|
$sync->log(LOG_WARNING, 'replayed OTP: Otp counters ', $otpParams);
|
||||||
sendResp(S_REPLAYED_OTP, $apiKey);
|
sendResp(S_REPLAYED_OTP, $apiKey);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user