summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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