✏️ Fix: [#59] access token 유효기간 30일 설정
This commit is contained in:
@@ -181,7 +181,7 @@ REST_FRAMEWORK = {
|
|||||||
REST_USE_JWT = True
|
REST_USE_JWT = True
|
||||||
|
|
||||||
SIMPLE_JWT = {
|
SIMPLE_JWT = {
|
||||||
'ACCESS_TOKEN_LIFETIME': timedelta(minutes= 15),
|
'ACCESS_TOKEN_LIFETIME': timedelta(days=30), # minutes = 15
|
||||||
'REFRESH_TOKEN_LIFETIME': timedelta(days=7),
|
'REFRESH_TOKEN_LIFETIME': timedelta(days=7),
|
||||||
'ROTATE_REFRESH_TOKENS': True,
|
'ROTATE_REFRESH_TOKENS': True,
|
||||||
'BLACKLIST_AFTER_ROTATION': True,
|
'BLACKLIST_AFTER_ROTATION': True,
|
||||||
|
|||||||
Reference in New Issue
Block a user