From 4ee5ea78e3ac9ece88e477b8a71cc28aa3a56d11 Mon Sep 17 00:00:00 2001 From: Taras Machyshyn Date: Fri, 8 Jun 2018 12:11:32 +0300 Subject: [PATCH] LDAP bug fixes --- application/Espo/Core/Utils/Authentication/LDAP.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/application/Espo/Core/Utils/Authentication/LDAP.php b/application/Espo/Core/Utils/Authentication/LDAP.php index 77b418f5e9..82594e2fc1 100644 --- a/application/Espo/Core/Utils/Authentication/LDAP.php +++ b/application/Espo/Core/Utils/Authentication/LDAP.php @@ -251,6 +251,8 @@ class LDAP extends Base $data[$fieldName] = $fieldValue; } + $this->getAuth()->useNoAuth(); + $user = $this->getEntityManager()->getEntity('User'); $user->set($data);