mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
Fixed problems with login with AD
(cherry picked from commit a11af4905cc9da3bcca46d1a37668d382be7c489)
This commit is contained in:
parent
8fb71f8413
commit
a95bfeed4e
@ -228,7 +228,8 @@ function process_user_login_remote ($login, $pass, $api = false) {
|
||||
if (!user_can_login($login)) {
|
||||
return false;
|
||||
}
|
||||
if ($config["auth"] == 'ad'){
|
||||
|
||||
if ($config["auth"] === 'ad'){
|
||||
$return = enterprise_hook ('prepare_permissions_groups_of_user_ad',
|
||||
array ($login, $pass, false, true));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user