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:
parent
c01c19c860
commit
922fe50163
@ -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'] = '-';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user