mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-25 05:58:42 +01:00
Added missing permissions on API endpoints
This commit is contained in:
@@ -93,7 +93,6 @@ class AccountViewSet(GetThrottleViewsetMixin, lib_viewsets.RevisionModelMixin, v
|
||||
throttles = super().get_throttles()
|
||||
if self.action == "reset_password":
|
||||
throttles.append(PasswordResetRequestThrottle())
|
||||
|
||||
return throttles
|
||||
|
||||
def get_serializer_class(self):
|
||||
|
||||
Reference in New Issue
Block a user