Increase token ttl to 30 days.
This commit is contained in:
parent
7ec45434ba
commit
9f1bfceda7
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user