mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove a debug message
This commit is contained in:
parent
071695bfe1
commit
d70140e256
@ -32,7 +32,7 @@ class GetAuthToken(ObtainAuthToken):
|
|||||||
serializer.is_valid(raise_exception=True)
|
serializer.is_valid(raise_exception=True)
|
||||||
user = serializer.validated_data['user']
|
user = serializer.validated_data['user']
|
||||||
token, created = Token.objects.get_or_create(user=user)
|
token, created = Token.objects.get_or_create(user=user)
|
||||||
print("YAAAAAAAAH")
|
|
||||||
return Response({
|
return Response({
|
||||||
'token': token.key,
|
'token': token.key,
|
||||||
'pk': user.pk,
|
'pk': user.pk,
|
||||||
|
Loading…
Reference in New Issue
Block a user