mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-01-20 10:52:15 +01:00
Drop internalname. Fix nonce.
This commit is contained in:
parent
1e1c34b9f0
commit
201a89bc5e
@ -138,12 +138,11 @@ class SyncLib
|
||||
'created'=>time(),
|
||||
'modified'=>-1,
|
||||
'yk_publicname'=>$yk_publicname,
|
||||
'yk_internalname'=>'not set',
|
||||
'yk_counter'=>-1,
|
||||
'yk_use'=>-1,
|
||||
'yk_low'=>-1,
|
||||
'yk_high'=>-1,
|
||||
'nonce'=> md5(uniqid(rand())),
|
||||
'nonce'=> '0000000000000000',
|
||||
'notes'=>''));
|
||||
$res=$this->db->findBy('yubikeys', 'yk_publicname', $yk_publicname,1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user