From 58c02c19a882a001d048f54fc3a317fbd64bf098 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Tue, 29 Mar 2016 14:23:54 -0400 Subject: [PATCH] fix authentication failure when no groups --- thirdparty/Mumble/authenticator.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/thirdparty/Mumble/authenticator.py b/thirdparty/Mumble/authenticator.py index 298d1655..2ab3ddae 100644 --- a/thirdparty/Mumble/authenticator.py +++ b/thirdparty/Mumble/authenticator.py @@ -500,7 +500,10 @@ def do_main_program(): 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)