From 2a0a4e389e7835b63729eab868f76137e6805e12 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Wed, 6 May 2009 14:44:03 +0000 Subject: [PATCH] If adding key doesn't work, it is an internal error. --- ykval-verify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ykval-verify.php b/ykval-verify.php index 254c4f6..393cc76 100644 --- a/ykval-verify.php +++ b/ykval-verify.php @@ -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; } }