summaryrefslogtreecommitdiffstats
path: root/etc/inc/ipsec.auth-user.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-09-10 00:04:50 +0200
committerErmal <eri@pfsense.org>2014-09-10 00:04:50 +0200
commitfe06990ec96acd7424edf4115191e8b4fb42d161 (patch)
tree61299ee33f8ac43015e10041e60a1514ef8425a1 /etc/inc/ipsec.auth-user.php
parentfe0430f761e333db547d62a374f280b8f12d0c79 (diff)
downloadpfsense-fe06990ec96acd7424edf4115191e8b4fb42d161.zip
pfsense-fe06990ec96acd7424edf4115191e8b4fb42d161.tar.gz
Also here be more strict on checking to return proper result
Diffstat (limited to 'etc/inc/ipsec.auth-user.php')
-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