mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-10 15:17:44 +00:00
fixed expire time
This commit is contained in:
@ -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),
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user