Skip to content

Commit 1371eb9

Browse files
cleanup
1 parent d0cd73e commit 1371eb9

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

rest_auth/registration/views.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ def get_response_with_errors(self):
8282
class VerifyEmail(APIView, ConfirmEmailView):
8383

8484
permission_classes = (AllowAny,)
85-
authentication_classes = (EverybodyCanAuthentication,)
8685
allowed_methods = ('POST', 'OPTIONS', 'HEAD')
8786

8887
def get(self, *args, **kwargs):

rest_auth/views.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ class Logout(APIView):
8686
Accepts/Returns nothing.
8787
"""
8888
permission_classes = (AllowAny,)
89-
authentication_classes = (EverybodyCanAuthentication,)
9089

9190
def post(self, request):
9291
try:
@@ -115,7 +114,6 @@ class UserDetails(RetrieveUpdateAPIView):
115114
"""
116115
serializer_class = UserDetailsSerializer
117116
permission_classes = (IsAuthenticated,)
118-
authentication_classes = (EverybodyCanAuthentication,)
119117

120118
def get_object(self):
121119
return self.request.user
@@ -132,7 +130,6 @@ class PasswordReset(GenericAPIView):
132130

133131
serializer_class = PasswordResetSerializer
134132
permission_classes = (AllowAny,)
135-
authentication_classes = (EverybodyCanAuthentication,)
136133

137134
def post(self, request, *args, **kwargs):
138135
# Create a serializer with request.DATA
@@ -162,7 +159,6 @@ class PasswordResetConfirm(GenericAPIView):
162159

163160
serializer_class = PasswordResetConfirmSerializer
164161
permission_classes = (AllowAny,)
165-
authentication_classes = (EverybodyCanAuthentication,)
166162

167163
def post(self, request):
168164
serializer = self.get_serializer(data=request.DATA)
@@ -188,7 +184,6 @@ class PasswordChange(GenericAPIView):
188184

189185
serializer_class = PasswordChangeSerializer
190186
permission_classes = (IsAuthenticated,)
191-
authentication_classes = (EverybodyCanAuthentication,)
192187

193188
def post(self, request):
194189
serializer = self.get_serializer(data=request.DATA)

0 commit comments

Comments
 (0)