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 8c99fb6..5dbfd45 100755
--- a/etc/inc/ipsec.auth-user.php
+++ b/etc/inc/ipsec.auth-user.php
@@ -96,7 +96,7 @@ if (isset($_GET['username'])) {
if (!$username || !$password) {
syslog(LOG_ERR, "invalid user authentication environment");
- if (isset($_GET)) {
+ if (isset($_GET['username'])) {
echo "FAILED";
closelog();
return;
OpenPOWER on IntegriCloud