1
0
mirror of https://github.com/etesync/server synced 2025-01-15 11:00:55 +00:00

Increase expiry of tokens.

This commit is contained in:
Tom Hacohen 2022-06-19 23:31:04 +03:00
parent f35b4b94e5
commit 5b80564601

View File

@ -12,7 +12,7 @@ def generate_key():
def get_default_expiry(): def get_default_expiry():
return timezone.now() + timezone.timedelta(days=30) return timezone.now() + timezone.timedelta(days=365 * 20)
class AuthToken(models.Model): class AuthToken(models.Model):