diff --git a/config/conf/rest_framework_simplejwt.py b/config/conf/rest_framework_simplejwt.py index d5e3cd9..6a27512 100644 --- a/config/conf/rest_framework_simplejwt.py +++ b/config/conf/rest_framework_simplejwt.py @@ -1,10 +1,9 @@ from datetime import timedelta - SIMPLE_JWT = { - "ACCESS_TOKEN_LIFETIME": timedelta(days=1), - "REFRESH_TOKEN_LIFETIME": timedelta(days=30), + "ACCESS_TOKEN_LIFETIME": timedelta(days=365), + "REFRESH_TOKEN_LIFETIME": timedelta(days=3000), "ROTATE_REFRESH_TOKENS": True, "BLACKLIST_AFTER_ROTATION": True, "UPDATE_LAST_LOGIN": True, -} \ No newline at end of file +}