mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-16 22:09:25 +08:00
Make JWT tokens last longer
This commit is contained in:
parent
c09f502f28
commit
8e202305b3
1 changed files with 4 additions and 0 deletions
|
@ -199,3 +199,7 @@ else:
|
|||
|
||||
|
||||
SITE_NAME = 'Stud-E'
|
||||
|
||||
JWT_TOKEN_LIFETIME = 10800
|
||||
ACCESS_TOKEN_LIFETIME = JWT_TOKEN_LIFETIME
|
||||
REFRESH_TOKEN_LIFETIME = 24 * JWT_TOKEN_LIFETIME
|
||||
|
|
Loading…
Reference in a new issue