mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-03-03 18:29:18 +01:00
Unwrap function.
This commit is contained in:
parent
731eed8fa9
commit
bc5319327b
@ -63,11 +63,6 @@ class SyncLib
|
||||
return $this->isConnected;
|
||||
}
|
||||
|
||||
function UnixToDbTime($unix)
|
||||
{
|
||||
return date('Y-m-d H:i:s', $unix);
|
||||
}
|
||||
|
||||
function getClientData($client)
|
||||
{
|
||||
$res = $this->db->customQuery("SELECT id, secret FROM clients WHERE active='1' AND id='" . $client . "'");
|
||||
|
@ -367,7 +367,7 @@ $seenSessionUse = $localParams['yk_use'];
|
||||
|
||||
$ad['high']=$localParams['yk_high'];
|
||||
$ad['low']=$localParams['yk_low'];
|
||||
$ad['accessed']=$sync->unixToDbTime($localParams['modified']);
|
||||
$ad['accessed']=date('Y-m-d H:i:s', $localParams['modified']);
|
||||
|
||||
//// Check the time stamp
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user