From 6b7d206c6d404f0bd74b33f5b059f71a85a403cd Mon Sep 17 00:00:00 2001 From: bmh7190 Date: Tue, 6 Aug 2024 15:06:42 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=86=A0=ED=81=B0=20=EB=A7=8C=EB=A3=8C?= =?UTF-8?q?=EA=B8=B0=ED=95=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Zipbab/Zipbab/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Zipbab/Zipbab/settings.py b/Zipbab/Zipbab/settings.py index 5fdb0f7..5aea399 100644 --- a/Zipbab/Zipbab/settings.py +++ b/Zipbab/Zipbab/settings.py @@ -166,8 +166,8 @@ def get_secret(setting, secrets=secrets): SIMPLE_JWT = { 'SIGNING_KEY': 'hellolikelionhellolikelion', - 'ACCESS_TOKEN_LIFETIME': timedelta(seconds=10), - 'REFRESH_TOKEN_LIFETIME': timedelta(seconds=15), + 'ACCESS_TOKEN_LIFETIME': timedelta(hours=1), + 'REFRESH_TOKEN_LIFETIME': timedelta(days=1), 'ROTATE_REFRESH_TOKENS': False, 'BLACKLIST_AFTER_ROTATION': True, }