summaryrefslogtreecommitdiffstats
path: root/etc/inc/ipsec.auth-user.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-11-14 19:32:34 +0000
committerErmal <eri@pfsense.org>2012-11-14 19:32:34 +0000
commit3260b82f3638f2a80330b7087020424fed7fbe7e (patch)
tree64071b0b1aaf6aaff139d54f36dfafa32e807cff /etc/inc/ipsec.auth-user.php
parent52c9f9faafec960a9016fd9b41f32660beff61a2 (diff)
downloadpfsense-3260b82f3638f2a80330b7087020424fed7fbe7e.zip
pfsense-3260b82f3638f2a80330b7087020424fed7fbe7e.tar.gz
Make it more clear what is the username during syslog
Diffstat (limited to 'etc/inc/ipsec.auth-user.php')
-rwxr-xr-xetc/inc/ipsec.auth-user.php4
1 files changed, 2 insertions, 2 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);
OpenPOWER on IntegriCloud