mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-12 05:50:16 +02:00
fix authentication failure when no groups
This commit is contained in:
parent
38c0e8896a
commit
58c02c19a8
3
thirdparty/Mumble/authenticator.py
vendored
3
thirdparty/Mumble/authenticator.py
vendored
@ -500,7 +500,10 @@ def do_main_program():
|
|||||||
|
|
||||||
uid, upwhash, ugroups = res
|
uid, upwhash, ugroups = res
|
||||||
|
|
||||||
|
if ugroups:
|
||||||
groups = ugroups.split(',')
|
groups = ugroups.split(',')
|
||||||
|
else:
|
||||||
|
groups = []
|
||||||
|
|
||||||
if allianceauth_check_hash(pw, upwhash):
|
if allianceauth_check_hash(pw, upwhash):
|
||||||
info('User authenticated: "%s" (%d)', name, uid + cfg.user.id_offset)
|
info('User authenticated: "%s" (%d)', name, uid + cfg.user.id_offset)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user