mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-01-20 01:52:15 +01:00
Fix undefined warnings. Solves Issue #8.
This commit is contained in:
parent
3545c4a8c5
commit
f33e6413fe
@ -6,7 +6,7 @@
|
||||
*
|
||||
* LICENSE:
|
||||
*
|
||||
* Copyright (c) 2009 Yubico. All rights reserved.
|
||||
* Copyright (c) 2009, 2010 Yubico. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@ -56,7 +56,7 @@ class Db
|
||||
* @return void
|
||||
*
|
||||
*/
|
||||
public function __construct($db_dsn, $db_username, $db_password, $dp_options, $name='ykval-db')
|
||||
public function __construct($db_dsn, $db_username, $db_password, $db_options, $name='ykval-db')
|
||||
{
|
||||
$this->db_dsn=$db_dsn;
|
||||
$this->db_username=$db_username;
|
||||
|
@ -66,7 +66,7 @@ foreach ($syncParams as $param=>$value) {
|
||||
exit;
|
||||
}
|
||||
$syncParams[$param]=$value;
|
||||
$local_log .= "$param=$value ";
|
||||
$tmp_log .= "$param=$value ";
|
||||
}
|
||||
$myLog->log(LOG_INFO, $tmp_log);
|
||||
|
||||
|
@ -159,7 +159,6 @@ class SyncLib
|
||||
}
|
||||
if ($res) {
|
||||
$localParams=array('modified'=>$res['modified'],
|
||||
'otp'=>$res['otp'],
|
||||
'nonce'=>$res['nonce'],
|
||||
'active'=>$res['active'],
|
||||
'yk_publicname'=>$yk_publicname,
|
||||
|
Loading…
x
Reference in New Issue
Block a user