diff --git a/InvenTree/users/views.py b/InvenTree/users/views.py index 0314c65ced..e10fe2c615 100644 --- a/InvenTree/users/views.py +++ b/InvenTree/users/views.py @@ -32,7 +32,7 @@ class GetAuthToken(ObtainAuthToken): serializer.is_valid(raise_exception=True) user = serializer.validated_data['user'] token, created = Token.objects.get_or_create(user=user) - print("YAAAAAAAAH") + return Response({ 'token': token.key, 'pk': user.pk,