mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-26 19:13:44 +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):
|
class RegisterView(CreateAPIView):
|
||||||
serializer_class = RegisterSerializer
|
serializer_class = RegisterSerializer
|
||||||
|
permission_classes = (AllowAny, )
|
||||||
|
|
||||||
def create(self, request, *args, **kwargs):
|
def create(self, request, *args, **kwargs):
|
||||||
serializer = self.get_serializer(data=request.data)
|
serializer = self.get_serializer(data=request.data)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user