mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-15 10:05:21 +00:00
revert access token time to 3 hrs
This commit is contained in:
@ -137,7 +137,7 @@ REST_FRAMEWORK = {
|
||||
}
|
||||
# define jwt token
|
||||
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),
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user