mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-11 21:40:17 +02:00
fix authentication failure when no groups
This commit is contained in:
parent
38c0e8896a
commit
58c02c19a8
5
thirdparty/Mumble/authenticator.py
vendored
5
thirdparty/Mumble/authenticator.py
vendored
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user