mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-01 01:52:18 +01:00
Simplify.
This commit is contained in:
parent
e64af41cd4
commit
8a727d3c28
@ -23,10 +23,10 @@ if ($do != "enable" && $do != "disable") {
|
||||
}
|
||||
|
||||
# Connect to db
|
||||
$db = new Db($baseParams['__YKREVOKE_DB_DSN__'],
|
||||
$baseParams['__YKREVOKE_DB_USER__'],
|
||||
$baseParams['__YKREVOKE_DB_PW__'],
|
||||
$baseParams['__YKREVOKE_DB_OPTIONS__'],
|
||||
$db = new Db($baseParams['__YKVAL_DB_DSN__'],
|
||||
$baseParams['__YKVAL_DB_USER__'],
|
||||
$baseParams['__YKVAL_DB_PW__'],
|
||||
$baseParams['__YKVAL_DB_OPTIONS__'],
|
||||
'ykval-revoke:db');
|
||||
$db->connect();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user