Only use if option of AD is activated. Tiquet: Tickets #3116
(cherry picked from commit 53466027f1
)
This commit is contained in:
parent
3b5b7f5313
commit
1693037724
|
@ -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…
Reference in New Issue