1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-01 10:52:18 +01:00

FIXME marker.

This commit is contained in:
Jean Paul Galea 2015-08-12 11:02:40 +02:00
parent c8bf5216d2
commit 02f2e056b1

View File

@ -304,6 +304,12 @@ if (array_key_exists('__YKVAL_KSM_CURL_OPTS__', $baseParams))
} }
if (($otpinfo = KSMdecryptOTP($urls, $myLog, $curlopts)) === FALSE) if (($otpinfo = KSMdecryptOTP($urls, $myLog, $curlopts)) === FALSE)
{ {
/**
* FIXME
*
* Return S_BACKEND_ERROR if there are connection issues,
* e.g. misconfigured otp2ksmurls.
*/
sendResp(S_BAD_OTP, $myLog, $apiKey); sendResp(S_BAD_OTP, $myLog, $apiKey);
} }
$myLog->log(LOG_DEBUG, 'Decrypted OTP:', $otpinfo); $myLog->log(LOG_DEBUG, 'Decrypted OTP:', $otpinfo);