Skip to content

Commit a007874

Browse files
committedJan 20, 2022
fix: remove print token line
1 parent ba6b97a commit a007874

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed
 

‎core/api_views.py

-2
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,6 @@ def signin(self, request, *args, **kwargs):
144144
login(request,user)
145145
else:
146146
raise AuthenticationFailed('Username or Password is not valid !')
147-
148-
149147
token = Token.objects.get_or_create(user=user)[0]
150148
return JsonResponse(UserSerializer(user).data)
151149

0 commit comments

Comments
 (0)
Please sign in to comment.