mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-24 20:33:43 +03:00
bug fixes
This commit is contained in:
parent
4794664e6a
commit
ca199383d4
|
@ -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})
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user