Merge pull request #37307 from nextcloud/backport/37006/stable25

[stable25] also unmark deleted ldap user when checking the ldap entry
This commit is contained in:
Arthur Schiwon 2023-05-17 13:06:28 +02:00 committed by GitHub
commit bd9f1e18bf
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) {