mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
(legacy) remove empty parameter
This commit is contained in:
parent
dad7dae888
commit
7a0e9eeb43
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user