mirror of
https://github.com/etesync/server
synced 2025-01-15 02:51:04 +00:00
Increase expiry of tokens.
This commit is contained in:
parent
f35b4b94e5
commit
5b80564601
@ -12,7 +12,7 @@ def generate_key():
|
||||
|
||||
|
||||
def get_default_expiry():
|
||||
return timezone.now() + timezone.timedelta(days=30)
|
||||
return timezone.now() + timezone.timedelta(days=365 * 20)
|
||||
|
||||
|
||||
class AuthToken(models.Model):
|
||||
|
Loading…
Reference in New Issue
Block a user