Skip to content

Commit

Permalink
fix: update default values caused by constance update
Browse files Browse the repository at this point in the history
  • Loading branch information
danh91 committed Feb 1, 2025
1 parent c476311 commit 9a3f9ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/api/karrio/server/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,10 +440,10 @@
# JWT config
SIMPLE_JWT = {
"ACCESS_TOKEN_LIFETIME": timedelta(
config("JWT_ACCESS_EXPIRY", default=30, cast=int)
config("JWT_ACCESS_EXPIRY", default="30", cast=int)
),
"REFRESH_TOKEN_LIFETIME": timedelta(
config("JWT_REFRESH_EXPIRY", default=3, cast=int)
config("JWT_REFRESH_EXPIRY", default="3", cast=int)
),
"ROTATE_REFRESH_TOKENS": False,
"BLACKLIST_AFTER_ROTATION": False,
Expand Down

0 comments on commit 9a3f9ad

Please sign in to comment.