mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-08 03:54:20 +01:00
Cosmetic changes.
- readability.
This commit is contained in:
parent
d502b644c0
commit
c258997f51
@ -259,13 +259,14 @@ function sendResp($status, $logger, $apiKey = '', $extra = null) {
|
||||
|
||||
$h = sign($a, $apiKey, $logger);
|
||||
|
||||
$str = "h=" . $h . "\r\n";
|
||||
$str = "";
|
||||
$str .= "h=" . $h . "\r\n";
|
||||
$str .= "t=" . $a['t'] . "\r\n";
|
||||
if ($extra){
|
||||
foreach ($extra as $param => $value) {
|
||||
|
||||
if ($extra)
|
||||
foreach ($extra as $param => $value)
|
||||
$str .= $param . "=" . $value . "\r\n";
|
||||
}
|
||||
}
|
||||
|
||||
$str .= "status=" . $a['status'] . "\r\n";
|
||||
$str .= "\r\n";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user