bug fixes

This commit is contained in:
Alexander Karpov 2024-03-30 01:03:46 +03:00
parent 4794664e6a
commit ca199383d4

View File

@ -207,7 +207,7 @@ def enforce_otp_login(request):
@login_required
def list_tokens(request):
tokens = UserAPIToken.objects.filter(user=request.user).order_by("-last_used")
tokens = UserAPIToken.objects.filter(user=request.user).order_by("last_used")
return render(request, "users/list_tokens.html", {"tokens": tokens})