1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-03-04 03:29:18 +01:00

Fix syntax errors introduced in previous commit.

This commit is contained in:
Jean Paul Galea 2016-04-18 14:48:29 +02:00
parent c01c19c860
commit 922fe50163

View File

@ -112,7 +112,7 @@ class LogVerify
return false;
}
return $baseParams['__YKVAL_VERIFY_LOGFORMAT__']
return $baseParams['__YKVAL_VERIFY_LOGFORMAT__'];
}
/**
@ -136,7 +136,7 @@ class LogVerify
if (preg_match('/^[cbdefghijklnrtuv]+$/', $a['otp']) !== 1
|| strlen($a['otp']) < TOKEN_LEN
|| strlen($a['otp']) > OTP_MAX_LEN))
|| strlen($a['otp']) > OTP_MAX_LEN)
{
$a['otp'] = '-';
}