mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-22 17:16:34 +03:00
Explict Allow Any for register view
This commit is contained in:
parent
10ae7acac9
commit
30fd6414ce
|
@ -19,6 +19,7 @@ from rest_auth.views import LoginView
|
|||
|
||||
class RegisterView(CreateAPIView):
|
||||
serializer_class = RegisterSerializer
|
||||
permission_classes = (AllowAny, )
|
||||
|
||||
def create(self, request, *args, **kwargs):
|
||||
serializer = self.get_serializer(data=request.data)
|
||||
|
|
Loading…
Reference in New Issue
Block a user