diff options
-rwxr-xr-x | etc/inc/ipsec.auth-user.php | 4 | ||||
-rwxr-xr-x | etc/inc/openvpn.auth-user.php | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/ipsec.auth-user.php b/etc/inc/ipsec.auth-user.php index 9c51bf4..273abaf 100755 --- a/etc/inc/ipsec.auth-user.php +++ b/etc/inc/ipsec.auth-user.php @@ -120,14 +120,14 @@ foreach ($authmodes as $authmode) { } if ($authenticated == false) { - syslog(LOG_WARNING, "user {$username} could not authenticate.\n"); + syslog(LOG_WARNING, "user '{$username}' could not authenticate.\n"); exit(-1); } if (file_exists("/etc/inc/ipsec.attributes.php")) include_once("/etc/inc/ipsec.attributes.php"); -syslog(LOG_NOTICE, "user {$username} authenticated\n"); +syslog(LOG_NOTICE, "user '{$username}' authenticated\n"); exit(0); diff --git a/etc/inc/openvpn.auth-user.php b/etc/inc/openvpn.auth-user.php index 92c3b87..2ddadca 100755 --- a/etc/inc/openvpn.auth-user.php +++ b/etc/inc/openvpn.auth-user.php @@ -120,7 +120,7 @@ foreach ($authmodes as $authmode) { } if ($authenticated == false) { - syslog(LOG_WARNING, "user {$username} could not authenticate.\n"); + syslog(LOG_WARNING, "user '{$username}' could not authenticate.\n"); exit(-1); } @@ -154,7 +154,7 @@ if (isset($attributes['framed_ip'])) { if (!empty($content)) @file_put_contents("{$g['tmp_path']}/{$username}", $content); -syslog(LOG_NOTICE, "user {$username} authenticated\n"); +syslog(LOG_NOTICE, "user '{$username}' authenticated\n"); exit(0); |