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

bugfix add key

This commit is contained in:
Paul Chen 2008-12-02 06:21:32 +00:00
parent c6270e78d3
commit e43404e935

View File

@ -17,6 +17,7 @@ if ($client <= 0) {
reply(S_MISSING_PARAMETER, '', $client, $nonce, 'client');
exit;
}
$ci = getClientInfo($client);
$h = getHttpVal('h', '');
if ($h == '') {
@ -25,6 +26,7 @@ if ($h == '') {
}
$op = getHttpVal('operation', '');
if ($op == '') {
reply(S_MISSING_PARAMETER, '', $client, $nonce, 'operation');
exit;
@ -33,8 +35,6 @@ if ($op == '') {
exit;
}
$ci = getClientInfo($client);
if (! isset($ci['id'])) {
debug('Client '.$client.' not found!');
$client = 1;