mirror of
https://github.com/Yubico/yubikey-ksm.git
synced 2025-02-21 15:54:17 +01:00
Make syslog facility configurable.
This commit is contained in:
parent
a9bd4a410d
commit
80649c1377
@ -3,4 +3,5 @@ $dbhost = "localhost";
|
||||
$dbname = "ykksm";
|
||||
$dbuser = "ykksmreader";
|
||||
$dbpasswd = "password";
|
||||
$logfacility = LOG_LOCAL0;
|
||||
?>
|
||||
|
@ -31,7 +31,7 @@
|
||||
include 'ykksm-config.php';
|
||||
include 'ykksm-utils.php';
|
||||
|
||||
openlog("ykksm", LOG_PID, LOG_AUTHPRIV)
|
||||
openlog("ykksm", LOG_PID, $logfacility)
|
||||
or die("ERR Syslog open error\n");
|
||||
|
||||
$otp = $_REQUEST["otp"];
|
||||
|
Loading…
x
Reference in New Issue
Block a user