Merge pull request #37006 from nextcloud/ldap-unmark-dh

also unmark deleted ldap user when checking the ldap entry
This commit is contained in:
Arthur Schiwon 2023-03-20 16:15:03 +01:00 committed by GitHub
commit 8f59ff880f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -335,8 +335,6 @@ class User_LDAP extends BackendUtility implements IUserBackend, UserInterface, I
return false;
}
$this->access->getUserMapper()->setDNbyUUID($newDn, $uuid);
$this->access->connection->writeToCache($cacheKey, true);
return true;
} catch (ServerNotAvailableException $e) {
throw $e;
} catch (\Exception $e) {