mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-01 01:52:18 +01:00
.
This commit is contained in:
parent
9bc6b90e45
commit
6ab59bb850
@ -79,7 +79,7 @@ if ($timeout && preg_match("/^[0-9]+$/", $timeout)==0) {
|
||||
exit;
|
||||
}
|
||||
|
||||
if (preg_match("/^[A-Za-z0-9]+$/", $nonce)==0) {
|
||||
if ($nonce && preg_match("/^[A-Za-z0-9]+$/", $nonce)==0) {
|
||||
$myLog->log(LOG_NOTICE, 'NONCE is provided but not correct');
|
||||
sendResp(S_MISSING_PARAMETER, $apiKey);
|
||||
exit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user