diff --git a/Server/integrations/duo/DuoExternalAuthenticator.py b/Server/integrations/duo/DuoExternalAuthenticator.py index bcd67d6619..e5f775ca9e 100644 --- a/Server/integrations/duo/DuoExternalAuthenticator.py +++ b/Server/integrations/duo/DuoExternalAuthenticator.py @@ -195,7 +195,7 @@ def isUserMemberOfGroup(self, user, attribute, group): member_of_list = user.getAttributeValues(attribute) if (member_of_list != None): for member_of in member_of_list: - if (StringHelper.equalsIgnoreCase(group, member_of)): + if StringHelper.equalsIgnoreCase(group, member_of) or member_of.endsWith(group): is_member = True break