Skip to content

Commit

Permalink
also unmark deleted ldap user when checking the ldap entry
Browse files Browse the repository at this point in the history
Signed-off-by: Robin Appelman <[email protected]>
  • Loading branch information
icewind1991 authored and backportbot-nextcloud[bot] committed Mar 20, 2023
1 parent b79d832 commit 4f7e311
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions apps/user_ldap/lib/User_LDAP.php
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,6 @@ public function userExistsOnLDAP($user, bool $ignoreCache = false): bool {
return false;
}
$this->access->getUserMapper()->setDNbyUUID($newDn, $uuid);
$this->access->connection->writeToCache($cacheKey, true);
return true;
} catch (ServerNotAvailableException $e) {
throw $e;
} catch (\Exception $e) {
Expand Down

0 comments on commit 4f7e311

Please sign in to comment.