feat(learning-auth): expose auth mode in profile and default advanced to jwt
This commit is contained in:
@@ -26,7 +26,7 @@ spring:
|
||||
|
||||
# 鉴权方案选择: none / jwt / satoken
|
||||
auth:
|
||||
type: ${AUTH_TYPE:none} # none | jwt | satoken
|
||||
type: ${AUTH_TYPE:jwt} # none | jwt | satoken
|
||||
jwt:
|
||||
secret: ${JWT_SECRET:your-secret-key}
|
||||
expiration: ${JWT_EXPIRATION:86400000} # 24小时
|
||||
|
||||
Reference in New Issue
Block a user