]> source.dussan.org Git - gitea.git/commit
Don't apply the group filter when listing LDAP group membership if it is empty (...
authorzeripath <art27@cantab.net>
Wed, 29 Mar 2023 09:54:36 +0000 (10:54 +0100)
committerGitHub <noreply@github.com>
Wed, 29 Mar 2023 09:54:36 +0000 (17:54 +0800)
commited5e7d03c6c44666c6fe97a15e8ce33d223c4466
treec0b48fbf7f4028104fe54be5782d867b5d83ff0d
parentf4538791f5fc82b173608fcf9c30e36ec01dc9d3
Don't apply the group filter when listing LDAP group membership if it is empty (#23745)

When running listLdapGroupMemberships check if the groupFilter is empty
before using it to list memberships.

Fix #23615

Signed-off-by: Andrew Thornton <art27@cantab.net>
services/auth/source/ldap/source_search.go