1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-01 01:52:18 +01:00
This commit is contained in:
Paul Chen 2008-12-03 03:16:54 +00:00
parent 71273a67c5
commit 1c9c717efd

View File

@ -73,8 +73,7 @@ $tokenId = base64_encode(genRandRaw(6));
$secret = base64_encode(genRandRaw(16));
$a = addNewKey($tokenId, 1, $secret, '', $client);
$keyid = $a['keyid'];
$sn = $a['sn'];
$keyid = $sn = $a['keyid'];
if ($keyid > 0) {
debug('Key '.$keyid.' added');