1
0
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:
Simon Josefsson 2010-09-12 10:42:32 +00:00
parent 6dbae564e8
commit dd9f472e77

View File

@ -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;