Skip to content

Commit

Permalink
fix: 토큰 만료기한 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
bmh7190 committed Aug 6, 2024
1 parent d848d16 commit 6b7d206
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Zipbab/Zipbab/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ def get_secret(setting, secrets=secrets):

SIMPLE_JWT = {
'SIGNING_KEY': 'hellolikelionhellolikelion',
'ACCESS_TOKEN_LIFETIME': timedelta(seconds=10),
'REFRESH_TOKEN_LIFETIME': timedelta(seconds=15),
'ACCESS_TOKEN_LIFETIME': timedelta(hours=1),
'REFRESH_TOKEN_LIFETIME': timedelta(days=1),
'ROTATE_REFRESH_TOKENS': False,
'BLACKLIST_AFTER_ROTATION': True,
}
Expand Down

0 comments on commit 6b7d206

Please sign in to comment.