Commit 9b31705aa45fb061e8dd975f6e728f25c4f97391
1 parent
b8c50a51
Exists in
master
and in
1 other branch
fixed user pb
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/Model/Table/LdapConnectionsTable.php
@@ -1102,7 +1102,7 @@ class LdapConnectionsTable extends AppTable | @@ -1102,7 +1102,7 @@ class LdapConnectionsTable extends AppTable | ||
1102 | //$this->mydebugmsg($user_fetched[0]); | 1102 | //$this->mydebugmsg($user_fetched[0]); |
1103 | if ($user_fetched['count'] != 0) { | 1103 | if ($user_fetched['count'] != 0) { |
1104 | $user_fetched = $user_fetched[0]; | 1104 | $user_fetched = $user_fetched[0]; |
1105 | - if ($this->_ldapAuth($user["dn"], $user_password)) { | 1105 | + if ($this->_ldapAuth($user_fetched["dn"], $user_password)) { |
1106 | // CACHE the new user in DB for next time | 1106 | // CACHE the new user in DB for next time |
1107 | ///$this->_saveNewUserInDB($user_fetched[0]); | 1107 | ///$this->_saveNewUserInDB($user_fetched[0]); |
1108 | // CACHE ALL ldap users | 1108 | // CACHE ALL ldap users |