Skip to content

Commit

Permalink
access token expire time update to 1 day
Browse files Browse the repository at this point in the history
  • Loading branch information
oktayozel committed Nov 24, 2024
1 parent 1ac9286 commit 036e9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/backend_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
}

SIMPLE_JWT = {
'ACCESS_TOKEN_LIFETIME': timedelta(minutes=30),
'ACCESS_TOKEN_LIFETIME': timedelta(days=1),
'REFRESH_TOKEN_LIFETIME': timedelta(days=1),
'ROTATE_REFRESH_TOKENS': True,
'BLACKLIST_AFTER_ROTATION': True,
Expand Down

0 comments on commit 036e9ba

Please sign in to comment.