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