revert access token time to 3 hrs

This commit is contained in:
abutalib-kiwi
2023-09-27 12:36:28 +05:30
parent f7bb83cebb
commit 251a912948

View File

@ -137,7 +137,7 @@ REST_FRAMEWORK = {
} }
# define jwt token # define jwt token
SIMPLE_JWT = { SIMPLE_JWT = {
'ACCESS_TOKEN_LIFETIME': timedelta(hours=0, minutes=0, seconds=59, microseconds=999999), 'ACCESS_TOKEN_LIFETIME': timedelta(hours=2, minutes=59, seconds=59, microseconds=999999),
'REFRESH_TOKEN_LIFETIME': timedelta(hours=71, minutes=59, seconds=59, microseconds=999999), 'REFRESH_TOKEN_LIFETIME': timedelta(hours=71, minutes=59, seconds=59, microseconds=999999),
} }