1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-20 21:54:20 +01:00

If adding key doesn't work, it is an internal error.

This commit is contained in:
Simon Josefsson 2009-05-06 14:44:03 +00:00
parent 0a82e6bcce
commit 2a0a4e389e

View File

@ -101,7 +101,7 @@ if (!is_array($ad)) {
$ad = getAuthData($conn, $devId);
if (!is_array($ad)) {
debug('Invalid Yubikey ' . $devId);
sendResp(S_BAD_OTP);
sendResp(S_BACKEND_ERROR);
exit;
}
}