also unmark deleted ldap user when checking the ldap entry

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2023-03-02 16:22:17 +01:00
parent 991aca154c
commit 3a9597fd1b
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB

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