From 9f1bfceda7b76dcc829b9ddc639494cb65297259 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Sun, 12 Jul 2020 11:27:47 +0300 Subject: [PATCH] Increase token ttl to 30 days. --- django_etebase/token_auth/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_etebase/token_auth/models.py b/django_etebase/token_auth/models.py index 9ac0955..0fe4766 100644 --- a/django_etebase/token_auth/models.py +++ b/django_etebase/token_auth/models.py @@ -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):