修改token过期时间,30分钟改成30天
This commit is contained in:
@@ -57,8 +57,8 @@ token:
|
|||||||
header: Authorization
|
header: Authorization
|
||||||
# 令牌密钥
|
# 令牌密钥
|
||||||
secret: Abc123!@#Def456$%^Ghi789&*()Jkl0+-=MnoPqrStuVwxYz987$%^654@#$321!@#ZyxWvu
|
secret: Abc123!@#Def456$%^Ghi789&*()Jkl0+-=MnoPqrStuVwxYz987$%^654@#$321!@#ZyxWvu
|
||||||
# 令牌有效期(默认30分钟)
|
# 令牌有效期(默认30分钟) 30天(单位:分钟 43200 = 30*24*60)
|
||||||
expireTime: 30
|
expireTime: 43200
|
||||||
|
|
||||||
# 测试用户后门登录。默认关闭,只允许在明确的测试 profile 中覆盖开启。
|
# 测试用户后门登录。默认关闭,只允许在明确的测试 profile 中覆盖开启。
|
||||||
backdoor:
|
backdoor:
|
||||||
|
|||||||
Reference in New Issue
Block a user