mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-06 23:26:19 +01:00
Changed how user account deletions are handled.
Now bans/unbans account as necessary.
This commit is contained in:
@@ -43,7 +43,7 @@ def deactivate_services(user):
|
||||
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)
|
||||
DiscordManager.lock_user(authinfo.discord_username)
|
||||
AuthServicesInfoManager.update_user_discord_info("", "", user)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user