mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-10 00:56:19 +01:00
Included Discord in disable_services from common_task.
Changed how user accounts in discord are handled: endpoint accepts password and email. Accounts are created with a password(random) and their user email. Need to activate account through link in email.
This commit is contained in:
@@ -7,6 +7,7 @@ from services.managers.phpbb3_manager import Phpbb3Manager
|
||||
from services.managers.mumble_manager import MumbleManager
|
||||
from services.managers.ipboard_manager import IPBoardManager
|
||||
from services.managers.teamspeak3_manager import Teamspeak3Manager
|
||||
from services.managers.discord_manager import DiscordManager
|
||||
|
||||
|
||||
def add_user_to_group(user, groupname):
|
||||
@@ -41,6 +42,9 @@ def deactivate_services(user):
|
||||
if authinfo.teamspeak3_uid and authinfo.teamspeak3_uid != "":
|
||||
Teamspeak3Manager.delete_user(authinfo.teamspeak3_uid)
|
||||
AuthServicesInfoManager.update_user_teamspeak3_info("", "", user)
|
||||
if authinfo.discord_username and authinfo.discord_username != "":
|
||||
DiscordManager.delete_user(authinfo.discord_username)
|
||||
AuthServicesInfoManager.update_user_discord_info("", "", user)
|
||||
|
||||
|
||||
def generate_corp_group_name(corpname):
|
||||
|
||||
Reference in New Issue
Block a user