mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 14:30:17 +02:00
Corrected parameter checked for Discord account activation.
This commit is contained in:
parent
8442ec1f55
commit
ae38f8f01f
@ -163,7 +163,7 @@ def add_to_databases(user, groups, syncgroups):
|
||||
if syncgroups.filter(groupname=group.name).filter(servicename="ipboard").exists() is not True:
|
||||
create_syncgroup_for_user(user, group.name, "ipboard")
|
||||
update_ipboard_groups(user)
|
||||
if authserviceinfo.discord_username and authserviceinfo.discord_username != "":
|
||||
if authserviceinfo.discord_uid and authserviceinfo.discord_uid != "":
|
||||
if syncgroups.filter(groupname=group.name).filter(servicename="discord").exists() is not True:
|
||||
create_syncgroup_for_user(user, group.name, "discord")
|
||||
update_discord_groups(user)
|
||||
|
Loading…
x
Reference in New Issue
Block a user