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, }