mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-14 09:37:20 +00:00
change access token duration
This commit is contained in:
@ -97,7 +97,7 @@ REST_FRAMEWORK = {
|
||||
'PAGE_SIZE': 5,
|
||||
}
|
||||
SIMPLE_JWT = {
|
||||
'ACCESS_TOKEN_LIFETIME': timedelta(minutes=50),
|
||||
'ACCESS_TOKEN_LIFETIME': timedelta(hours=23, minutes=59, seconds=59, microseconds=999999),
|
||||
'REFRESH_TOKEN_LIFETIME': timedelta(days=7),
|
||||
}
|
||||
# Database
|
||||
|
Reference in New Issue
Block a user