Increase token ttl to 30 days.

master
Tom Hacohen 5 years ago
parent 7ec45434ba
commit 9f1bfceda7

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

Loading…
Cancel
Save