Only use if option of AD is activated. Tiquet: Tickets #3116
(cherry picked from commit 128610aba8
)
This commit is contained in:
parent
1693037724
commit
3c9811d863
|
@ -229,7 +229,7 @@ function process_user_login_remote ($login, $pass, $api = false) {
|
|||
return false;
|
||||
}
|
||||
|
||||
if ($config["auth"] === 'ad' && isset($config['ad_advanced_config']) && $config['ad_advanced_config'])){
|
||||
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