token time changed to 1m

This commit is contained in:
abutalib-kiwi
2024-03-04 19:32:46 +05:30
parent 5603853896
commit 348c5946dd

View File

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