Commit 9b31705aa45fb061e8dd975f6e728f25c4f97391

Authored by Etienne Pallier
1 parent b8c50a51
Exists in master and in 1 other branch dev

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 1102 //$this->mydebugmsg($user_fetched[0]);
1103 1103 if ($user_fetched['count'] != 0) {
1104 1104 $user_fetched = $user_fetched[0];
1105   - if ($this->_ldapAuth($user["dn"], $user_password)) {
  1105 + if ($this->_ldapAuth($user_fetched["dn"], $user_password)) {
1106 1106 // CACHE the new user in DB for next time
1107 1107 ///$this->_saveNewUserInDB($user_fetched[0]);
1108 1108 // CACHE ALL ldap users
... ...