mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-07-15 10:05:21 +00:00
token time changed to 1m
This commit is contained in:
@ -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),
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user