移除 Security 无用的 secret 配置项

This commit is contained in:
YunaiV
2022-03-10 00:39:43 +08:00
parent 3c3919545a
commit 9a9dbf0e97
4 changed files with 1 additions and 10 deletions

View File

@ -168,7 +168,6 @@ wx: # 参见 https://github.com/Wechat-Group/WxJava/blob/develop/spring-boot-sta
yudao:
security:
token-header: Authorization
token-secret: abcdefghijklmnopqrstuvwxyz
token-timeout: 1d
session-timeout: 30m
mock-enable: true

View File

@ -180,9 +180,7 @@ yudao:
enable: false # 本地环境,暂时关闭图片验证码,方便登录等接口的测试
security:
token-header: Authorization
token-secret: abcdefghijklmnopqrstuvwxyz
token-timeout: 1d
# session-timeout: 30m
session-timeout: 1d
mock-enable: true
mock-secret: test