mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-11-27 11:24:28 +01:00
WIP.
This commit is contained in:
@@ -75,10 +75,6 @@ class AccountViewSet(viewsets.ModelViewSet):
|
||||
queryset = queryset.filter(mailbox__domain__name=domain)
|
||||
return queryset
|
||||
|
||||
def perform_destroy(self, instance):
|
||||
"""Add custom args to delete call."""
|
||||
instance.delete(self.request.user)
|
||||
|
||||
@detail_route(methods=["put"])
|
||||
def password(self, request, pk=None):
|
||||
"""Change account password."""
|
||||
|
||||
Reference in New Issue
Block a user