diff --git a/src/api-engine/api/routes/general/views.py b/src/api-engine/api/routes/general/views.py index 5fc803955..9f14d7af2 100644 --- a/src/api-engine/api/routes/general/views.py +++ b/src/api-engine/api/routes/general/views.py @@ -11,7 +11,6 @@ from api.common import ok, err from api.utils import zip_dir from api.lib.pki import CryptoGen, CryptoConfig -from api.utils.common import with_common_response from api.routes.general.serializers import ( RegisterBody, diff --git a/src/api-engine/api_engine/settings.py.example b/src/api-engine/api_engine/settings.py.example index ed7c31838..e978e34eb 100644 --- a/src/api-engine/api_engine/settings.py.example +++ b/src/api-engine/api_engine/settings.py.example @@ -216,7 +216,7 @@ MEDIA_URL = "$WEBROOT/media/" CELERY_BROKER_URL = "$CELERY_BROKER_URL" SIMPLE_JWT = { - "ACCESS_TOKEN_LIFETIME": timedelta(minutes=5), + "ACCESS_TOKEN_LIFETIME": timedelta(hours=1), "REFRESH_TOKEN_LIFETIME": timedelta(days=1), 'ROTATE_REFRESH_TOKENS': False, 'BLACKLIST_AFTER_ROTATION': False,