1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-08 03:54:20 +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)); $secret = base64_encode(genRandRaw(16));
$a = addNewKey($tokenId, 1, $secret, '', $client); $a = addNewKey($tokenId, 1, $secret, '', $client);
$keyid = $a['keyid']; $keyid = $sn = $a['keyid'];
$sn = $a['sn'];
if ($keyid > 0) { if ($keyid > 0) {
debug('Key '.$keyid.' added'); debug('Key '.$keyid.' added');