1
0
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:
Simon Josefsson 2010-01-25 15:09:15 +00:00
parent 1e1c34b9f0
commit 201a89bc5e

View File

@ -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);
}