Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Should be lte instead of gte.

  • Loading branch information...
commit 87096b053a7fc7c0f3b70c1cbb4ad0de945dd524 1 parent 9d5193a
@dram authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  jaikuengine/common/user.py
View
2  jaikuengine/common/user.py
@@ -69,7 +69,7 @@ def purge_expired_user_auth_token_keys():
#TODO: Remove hard coded limit
limit = 10
try:
- objs = Session.objects.filter(expire_date__gte=api.utcnow())
+ objs = Session.objects.filter(expire_date__lte=api.utcnow())
expired_tokens = len(objs)
if expired_tokens:
objs[:limit].delete()
Please sign in to comment.
Something went wrong with that request. Please try again.