Increase token ttl to 30 days.

This commit is contained in:
Tom Hacohen 2020-07-12 11:27:47 +03:00
parent 7ec45434ba
commit 9f1bfceda7

View File

@ -11,7 +11,7 @@ def generate_key():
def get_default_expiry():
return timezone.now() + timezone.timedelta(days=14)
return timezone.now() + timezone.timedelta(days=30)
class AuthToken(models.Model):