mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-08 16:16:18 +01:00
Fix users cannot delete mumble account (#567)
Added helper method for checking a user exists Added a check for already deleted mumble accounts
This commit is contained in:
@@ -115,3 +115,7 @@ class MumbleManager:
|
||||
model.save()
|
||||
else:
|
||||
logger.error("User %s not found on mumble. Unable to update groups." % username)
|
||||
|
||||
@staticmethod
|
||||
def user_exists(username):
|
||||
return MumbleUser.objects.filter(username=username).exists()
|
||||
|
||||
Reference in New Issue
Block a user