mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-26 21:54:16 +01:00
Refactor.
- $status is always set in invocation, and never to null.
This commit is contained in:
parent
c258997f51
commit
ba82acf79b
@ -246,10 +246,6 @@ function KSMdecryptOTP($urls, $logger, $curlopts) {
|
||||
}
|
||||
|
||||
function sendResp($status, $logger, $apiKey = '', $extra = null) {
|
||||
if ($status == null) {
|
||||
$status = S_BACKEND_ERROR;
|
||||
}
|
||||
|
||||
$a['status'] = $status;
|
||||
$a['t'] = getUTCTimeStamp();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user