Skip to content

Commit

Permalink
Update settings.py
Browse files Browse the repository at this point in the history
cheange access token setting
  • Loading branch information
AliMortezaei authored Feb 18, 2024
1 parent f7413c4 commit 18c5631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
# Settings sample-jwt

SIMPLE_JWT = {
"ACCESS_TOKEN_LIFETIME": timedelta(minutes=300),
"ACCESS_TOKEN_LIFETIME": timedelta(minutes=5),
"REFRESH_TOKEN_LIFETIME": timedelta(days=30),
"ROTATE_REFRESH_TOKENS": False,
"BLACKLIST_AFTER_ROTATION": False,
Expand Down

0 comments on commit 18c5631

Please sign in to comment.