diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2024-01-15 17:55:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-15 17:55:44 +0100 |
commit | 52406d53e63d1955d345fc56766395f402047f40 (patch) | |
tree | 6cd25c6feed346a96c4f860a4b10913fbcd15e4c | |
parent | e5ef58b7b9b8f7a232666df17d286d43fb4d1201 (diff) | |
parent | 658b20aef592edb24632565e4456823b411b3039 (diff) | |
download | nextcloud-server-52406d53e63d1955d345fc56766395f402047f40.tar.gz nextcloud-server-52406d53e63d1955d345fc56766395f402047f40.zip |
Merge pull request #42781 from nextcloud/fix/user_ldap-support-group-membership-duplicate
Fix crash of login in case of duplicated group membership
-rw-r--r-- | apps/user_ldap/lib/Group_Proxy.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Group_Proxy.php b/apps/user_ldap/lib/Group_Proxy.php index 73daf4fdd77..7410aa6a6e9 100644 --- a/apps/user_ldap/lib/Group_Proxy.php +++ b/apps/user_ldap/lib/Group_Proxy.php @@ -178,7 +178,7 @@ class Group_Proxy extends Proxy implements \OCP\GroupInterface, IGroupLDAP, IGet } } - return $groups; + return array_values(array_unique($groups)); } /** |