Increased JWT time to expire and improved student status serializer

This commit is contained in:
Keannu Christian Bernasol 2023-09-02 13:46:51 +08:00
parent 49afdc981f
commit 813734582a
3 changed files with 5 additions and 5 deletions

View file

@ -235,8 +235,8 @@ else:
SITE_NAME = 'Stud-E'
SIMPLE_JWT = {
"ACCESS_TOKEN_LIFETIME": timedelta(minutes=360),
"REFRESH_TOKEN_LIFETIME": timedelta(minutes=360)
"ACCESS_TOKEN_LIFETIME": timedelta(minutes=3600),
"REFRESH_TOKEN_LIFETIME": timedelta(minutes=3600)
}
LEAFLET_CONFIG = {