summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-09-09 22:30:00 +0200
committerErmal <eri@pfsense.org>2014-09-09 22:30:00 +0200
commit9e74f980a0cfcd26590206e3e97890ec636c4c42 (patch)
treec06881e580d276eb29124d1d2f8673ec16d3a7ca /etc
parent9eb4257fa99498e28db007aeeec64b9a6f39c031 (diff)
downloadpfsense-9e74f980a0cfcd26590206e3e97890ec636c4c42.zip
pfsense-9e74f980a0cfcd26590206e3e97890ec636c4c42.tar.gz
Be more explicit
Diffstat (limited to 'etc')
-rwxr-xr-xetc/inc/ipsec.auth-user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/ipsec.auth-user.php b/etc/inc/ipsec.auth-user.php
index 13afa48..8c99fb6 100755
--- a/etc/inc/ipsec.auth-user.php
+++ b/etc/inc/ipsec.auth-user.php
@@ -81,7 +81,7 @@ function getNasIP()
/* setup syslog logging */
openlog("charon", LOG_ODELAY, LOG_AUTH);
-if (isset($_GET)) {
+if (isset($_GET['username'])) {
$authmodes = explode(",", $_GET['authcfg']);
$username = $_GET['username'];
$password = $_GET['password'];
OpenPOWER on IntegriCloud