fixed expire time

This commit is contained in:
abutalib-kiwi
2024-03-07 12:40:01 +05:30
parent c3aa31788f
commit 8fb627ec03

View File

@ -144,7 +144,7 @@ REST_FRAMEWORK = {
} }
# define jwt token # define jwt token
SIMPLE_JWT = { SIMPLE_JWT = {
'ACCESS_TOKEN_LIFETIME': timedelta(hours=3, minutes=59, seconds=59, microseconds=999999), 'ACCESS_TOKEN_LIFETIME': timedelta(hours=2, minutes=59, seconds=59, microseconds=999999),
'REFRESH_TOKEN_LIFETIME': timedelta(days=364, hours=23, minutes=59, seconds=59, microseconds=999999), 'REFRESH_TOKEN_LIFETIME': timedelta(days=364, hours=23, minutes=59, seconds=59, microseconds=999999),
} }