Skip to content

Commit

Permalink
Fixes trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
iMerica committed Nov 3, 2024
1 parent 6c4a2a0 commit aaaea39
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dj_rest_auth/registration/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def get_response_data(self, user):
return api_settings.JWT_SERIALIZER(data, context=self.get_serializer_context()).data
elif self.token_model:
return api_settings.TOKEN_SERIALIZER(user.auth_token, context=self.get_serializer_context()).data

return None

def create(self, request, *args, **kwargs):
Expand Down Expand Up @@ -103,7 +102,7 @@ class VerifyEmailView(APIView, ConfirmEmailView):
Verifies the email associated with the provided key.
Accepts the following POST parameter: key.
"""
"""
permission_classes = (AllowAny,)
allowed_methods = ('POST', 'OPTIONS', 'HEAD')

Expand Down

0 comments on commit aaaea39

Please sign in to comment.