diff options
author | Ermal <eri@pfsense.org> | 2014-09-10 00:04:50 +0200 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-09-10 00:04:50 +0200 |
commit | fe06990ec96acd7424edf4115191e8b4fb42d161 (patch) | |
tree | 61299ee33f8ac43015e10041e60a1514ef8425a1 /etc | |
parent | fe0430f761e333db547d62a374f280b8f12d0c79 (diff) | |
download | pfsense-fe06990ec96acd7424edf4115191e8b4fb42d161.zip pfsense-fe06990ec96acd7424edf4115191e8b4fb42d161.tar.gz |
Also here be more strict on checking to return proper result
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/inc/ipsec.auth-user.php | 2 |
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; |