From dd9f472e77fed134efa3c8c4025c9e548d517747 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Sun, 12 Sep 2010 10:42:32 +0000 Subject: [PATCH] Fix typo. --- ykval-verify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ykval-verify.php b/ykval-verify.php index 6aef888..439f7d9 100644 --- a/ykval-verify.php +++ b/ykval-verify.php @@ -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;