mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-04-19 23:46:53 +00:00
Remove throttling for CreateTemporaryUserView and VerifyOTPView
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m14s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 3m14s
This commit is contained in:
parent
887ffbb4d0
commit
f77779a84f
@ -88,6 +88,7 @@ class CreateTemporaryUserView(generics.CreateAPIView):
|
||||
serializer_class = TemporaryUserSerializer
|
||||
permission_classes = (permissions.AllowAny,)
|
||||
queryset = TemporaryUser.objects.all()
|
||||
throttle_classes = []
|
||||
|
||||
def post(self, request, *args, **kwargs):
|
||||
# Extract required fields from request data
|
||||
@ -202,6 +203,7 @@ class CreateTemporaryUserView(generics.CreateAPIView):
|
||||
class VerifyOTPView(generics.GenericAPIView):
|
||||
permission_classes = (permissions.AllowAny,)
|
||||
serializer_class = OTPVerificationSerializer
|
||||
throttle_classes = []
|
||||
|
||||
def post(self, request):
|
||||
serializer = self.get_serializer(data=request.data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user