mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-01 01:52:18 +01:00
sn
This commit is contained in:
parent
71273a67c5
commit
1c9c717efd
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user