Commit 7a0e9eeb authored by Ad Schellevis's avatar Ad Schellevis

(legacy) remove empty parameter

parent dad7dae8
...@@ -242,7 +242,7 @@ foreach ($authmodes as $authmode) { ...@@ -242,7 +242,7 @@ foreach ($authmodes as $authmode) {
if (!$authcfg && $authmode != "local") if (!$authcfg && $authmode != "local")
continue; continue;
$authenticated = authenticate_user($username, $password, $authcfg, $attributes); $authenticated = authenticate_user($username, $password, $authcfg);
if ($authenticated == true) { if ($authenticated == true) {
if (stristr($authmode, "local")) { if (stristr($authmode, "local")) {
$user = getUserEntry($username); $user = getUserEntry($username);
......
...@@ -249,7 +249,7 @@ foreach ($authmodes as $authmode) { ...@@ -249,7 +249,7 @@ foreach ($authmodes as $authmode) {
if (!$authcfg && $authmode != "local") if (!$authcfg && $authmode != "local")
continue; continue;
$authenticated = authenticate_user($username, $password, $authcfg, $attributes); $authenticated = authenticate_user($username, $password, $authcfg);
if ($authenticated == true) if ($authenticated == true)
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment