Skip to content

Commit

Permalink
Merge pull request #35 from dignajar/bugfix/users-without-memberof
Browse files Browse the repository at this point in the history
Bug fix for users don't belong to groups
  • Loading branch information
dignajar authored Jun 25, 2021
2 parents 0d4e9de + d184930 commit a5f32be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/aldap.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def validateGroups(self, username:str, groups:list):
for element in zone:
try:
adGroups.extend(element['memberOf'])
except TypeError:
except:
None
# Create a list from the elements and convert binary to str the items
adGroups = list(map(self.__decode__,adGroups))
Expand Down

0 comments on commit a5f32be

Please sign in to comment.