diff --git a/core/settings/__init__.py b/core/settings/__init__.py index a080dd0..a62d690 100644 --- a/core/settings/__init__.py +++ b/core/settings/__init__.py @@ -127,6 +127,7 @@ REST_USE_JWT = True SIMPLE_JWT = { 'ACCESS_TOKEN_LIFETIME': timedelta(days=1), 'REFRESH_TOKEN_LIFETIME': timedelta(days=30), + 'ROTATE_REFRESH_TOKENS': True, }