mirror of
https://github.com/Yubico/yubikey-val.git
synced 2024-11-29 00:24:13 +01:00
Fix typo.
This commit is contained in:
parent
6dbae564e8
commit
dd9f472e77
@ -75,7 +75,7 @@ if ($otp == '') {
|
||||
exit;
|
||||
}
|
||||
|
||||
if (strlen($otp) < TOKEN_LEN || strlen ($otp) > TOKEN_MAXLEN) {
|
||||
if (strlen($otp) < TOKEN_LEN || strlen ($otp) > OTP_MAX_LEN) {
|
||||
$myLog->log(LOG_NOTICE, 'Incorrect OTP length: ' . $otp);
|
||||
sendResp(S_BAD_OTP, $apiKey, $extra);
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user