功能变化: 加入浏览器单点登录

pull/91/MERGE
猿小天 2023-03-28 22:21:56 +08:00
parent 56d152e1c3
commit 0258e7c3ca
1 changed files with 1 additions and 1 deletions

View File

@ -307,7 +307,7 @@ from datetime import timedelta
SIMPLE_JWT = {
# token有效时长
"ACCESS_TOKEN_LIFETIME": timedelta(seconds=10),
"ACCESS_TOKEN_LIFETIME": timedelta(seconds=60),
# token刷新后的有效时间
"REFRESH_TOKEN_LIFETIME": timedelta(days=1),
# 设置前缀