Fixed problems with login with AD

(cherry picked from commit a11af4905c)
This commit is contained in:
m-lopez-f 2015-08-05 10:52:21 +02:00
parent 8fb71f8413
commit a95bfeed4e
1 changed files with 2 additions and 1 deletions

View File

@ -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));