Skip to content

Commit

Permalink
Merge pull request #37307 from nextcloud/backport/37006/stable25
Browse files Browse the repository at this point in the history
[stable25] also unmark deleted ldap user when checking the ldap entry
  • Loading branch information
blizzz authored May 17, 2023
2 parents fc66ebd + 4f7e311 commit bd9f1e1
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 bd9f1e1

Please sign in to comment.