We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a84c1ab + 8423899 commit 4128353Copy full SHA for 4128353
2 files changed
lib/Service/LdapService.php
@@ -48,6 +48,10 @@ public function isLdapDeletedUser(IUser $user): bool {
48
return false;
49
}
50
51
+ if (!$dui->isUserMarked($user->getUID())) {
52
+ return false;
53
+ }
54
+
55
if (!$dui->hasUsers()) {
56
57
tests/stubs/oca_user_ldap.php
@@ -26,6 +26,9 @@ public function hasUsers(): bool {
26
public function getUsers(): array {
27
return [];
28
29
30
+ public function isUserMarked(string $uid): bool {
31
32
33
34
namespace OCA\User_LDAP;
0 commit comments