Only use if option of AD is activated. Tiquet: Tickets #3116
This commit is contained in:
parent
53466027f1
commit
128610aba8
|
@ -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