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

(legacy) remove empty parameter

parent dad7dae8
......@@ -242,7 +242,7 @@ foreach ($authmodes as $authmode) {
if (!$authcfg && $authmode != "local")
continue;
$authenticated = authenticate_user($username, $password, $authcfg, $attributes);
$authenticated = authenticate_user($username, $password, $authcfg);
if ($authenticated == true) {
if (stristr($authmode, "local")) {
$user = getUserEntry($username);
......
......@@ -249,7 +249,7 @@ foreach ($authmodes as $authmode) {
if (!$authcfg && $authmode != "local")
continue;
$authenticated = authenticate_user($username, $password, $authcfg, $attributes);
$authenticated = authenticate_user($username, $password, $authcfg);
if ($authenticated == true)
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