From 6e7246616ce16dbb23d4fd2218f65c1deea29b21 Mon Sep 17 00:00:00 2001 From: eldpswp99 Date: Thu, 12 Oct 2023 17:31:42 +0900 Subject: [PATCH] featrue: rotate refresh tokens --- backend/backend/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/backend/settings.py b/backend/backend/settings.py index 5b6a548..42fdedf 100644 --- a/backend/backend/settings.py +++ b/backend/backend/settings.py @@ -142,7 +142,7 @@ SIMPLE_JWT = { "ACCESS_TOKEN_LIFETIME": timedelta(days=1), "SLIDING_TOKEN_REFRESH_LIFETIME": timedelta(days=30), - "ROTATE_REFRESH_TOKENS": False, + "ROTATE_REFRESH_TOKENS": True, "BLACKLIST_AFTER_ROTATION": True, "ALGORITHM": "HS256", "SIGNING_KEY": SECRET_KEY,