mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Only use if option of AD is activated. Tiquet: Tickets #3116
(cherry picked from commit 53466027f12cfcc3a9d90d5013bf702f78888649) (cherry picked from commit 16930377241e652f734e47108669ada7a9613125)
This commit is contained in:
parent
b2161a26e6
commit
d2edee1c52
@ -229,7 +229,7 @@ function process_user_login_remote ($login, $pass, $api = false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if ($config["auth"] === 'ad'){
|
||||
if ($config["auth"] === 'ad' && isset($config['ad_advanced_config']) && $config['ad_advanced_config'])){
|
||||
$return = enterprise_hook ('prepare_permissions_groups_of_user_ad',
|
||||
array ($login, $pass, false, true));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user