From 9b31705aa45fb061e8dd975f6e728f25c4f97391 Mon Sep 17 00:00:00 2001 From: Etienne Pallier Date: Tue, 16 Feb 2021 20:08:43 +0100 Subject: [PATCH] fixed user pb --- src/Model/Table/LdapConnectionsTable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Table/LdapConnectionsTable.php b/src/Model/Table/LdapConnectionsTable.php index 9144e9d..e28ffcd 100644 --- a/src/Model/Table/LdapConnectionsTable.php +++ b/src/Model/Table/LdapConnectionsTable.php @@ -1102,7 +1102,7 @@ class LdapConnectionsTable extends AppTable //$this->mydebugmsg($user_fetched[0]); if ($user_fetched['count'] != 0) { $user_fetched = $user_fetched[0]; - if ($this->_ldapAuth($user["dn"], $user_password)) { + if ($this->_ldapAuth($user_fetched["dn"], $user_password)) { // CACHE the new user in DB for next time ///$this->_saveNewUserInDB($user_fetched[0]); // CACHE ALL ldap users -- libgit2 0.21.2