(legacy) remove empty parameter

This commit is contained in:
Ad Schellevis 2015-10-21 09:29:04 +00:00
parent dad7dae888
commit 7a0e9eeb43
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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;
}