Skip to content

Commit

Permalink
chore: change JWT lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucerna00 committed May 27, 2024
1 parent 467a726 commit 509b7b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
}

SIMPLE_JWT = {
'ACCESS_TOKEN_LIFETIME': timedelta(days=1),
'REFRESH_TOKEN_LIFETIME': timedelta(days=7),
'ACCESS_TOKEN_LIFETIME': timedelta(minutes=30),
'REFRESH_TOKEN_LIFETIME': timedelta(days=1),

"SIGNING_KEY": SECRET_KEY,
"ALGORITHM": "HS256",
Expand Down

0 comments on commit 509b7b2

Please sign in to comment.