mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-09-26 11:29:12 +02:00
Fixed bug in LDAP authentication
Former-commit-id: 4e0b2d46d5bcd71ea63e9d09e7c0d8865735227f
This commit is contained in:
parent
db13ecbb39
commit
1efedd26ce
@ -85,7 +85,7 @@ function process_user_login($login, $pass, $api=false)
|
||||
return process_user_login_local($login, $pass, $api);
|
||||
} else {
|
||||
$login_remote = process_user_login_remote($login, io_safe_output($pass), $api);
|
||||
if ($login_remote == false && $config['fallback_local_auth'] == '1') {
|
||||
if ($login_remote == false) {
|
||||
return process_user_login_local($login, $pass, $api);
|
||||
} else {
|
||||
return $login_remote;
|
||||
|
Loading…
x
Reference in New Issue
Block a user