Make JWT tokens last longer

This commit is contained in:
Keannu Bernasol 2023-07-07 18:34:11 +08:00
parent c09f502f28
commit 8e202305b3

View file

@ -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