summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-02-09 08:06:24 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-02-09 08:06:24 -0500
commit85c721a3e2903fc1d32745bd5aaaab4b99acd4d6 (patch)
tree4f6d3f11f556a721aaf478e5d65fc94b0d7f3406 /src
parenta0f8589a3b730c9b1639f995c3a1c8e8e2ca0460 (diff)
parentb7369ff88e2e75f81cba070e0bb52b3e780a4f6c (diff)
downloadpfsense-85c721a3e2903fc1d32745bd5aaaab4b99acd4d6.zip
pfsense-85c721a3e2903fc1d32745bd5aaaab4b99acd4d6.tar.gz
Merge pull request #2604 from NewEraCracker/illegal-offset-fix
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/auth.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/etc/inc/auth.inc b/src/etc/inc/auth.inc
index 4899e4a..a5f0ff4 100644
--- a/src/etc/inc/auth.inc
+++ b/src/etc/inc/auth.inc
@@ -1530,6 +1530,10 @@ function getUserGroups($username, $authcfg, &$attributes = array()) {
function authenticate_user($username, $password, $authcfg = NULL, &$attributes = array()) {
+ if (is_array($username) || is_array($password)) {
+ return false;
+ }
+
if (!$authcfg) {
return local_backed($username, $password);
}
OpenPOWER on IntegriCloud