Skip to content

Commit

Permalink
Fix commit
Browse files Browse the repository at this point in the history
Signed-off-by: Yuanmao Zhu <[email protected]>
  • Loading branch information
zhuyuanmao committed Aug 29, 2023
1 parent 466923e commit 3246c7e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/api-engine/api/routes/general/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/api-engine/api_engine/settings.py.example
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3246c7e

Please sign in to comment.