@@ -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