Skip to content
This repository was archived by the owner on Jan 13, 2019. It is now read-only.

Commit

Permalink
fix authentication failure when no groups
Browse files Browse the repository at this point in the history
  • Loading branch information
Adarnof committed Mar 29, 2016
1 parent 38c0e88 commit 58c02c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion thirdparty/Mumble/authenticator.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,10 @@ def authenticate(self, name, pw, certlist, certhash, strong, current = None):

uid, upwhash, ugroups = res

groups = ugroups.split(',')
if ugroups:
groups = ugroups.split(',')
else:
groups = []

if allianceauth_check_hash(pw, upwhash):
info('User authenticated: "%s" (%d)', name, uid + cfg.user.id_offset)
Expand Down

0 comments on commit 58c02c1

Please sign in to comment.