fix: 将每个用户的最大会话数默认值从3改为1
All checks were successful
Build docker and publish / build (20.15.1) (push) Successful in 7m20s

This commit is contained in:
shanshanzhong 2025-11-26 18:42:09 -08:00
parent 1d5d361ae8
commit 7e32c571ab

View File

@ -44,7 +44,7 @@ type RedisConfig struct {
type JwtAuth struct {
AccessSecret string `yaml:"AccessSecret"`
AccessExpire int64 `yaml:"AccessExpire" default:"604800"`
MaxSessionsPerUser int64 `yaml:"MaxSessionsPerUser" default:"3"`
MaxSessionsPerUser int64 `yaml:"MaxSessionsPerUser" default:"1"`
}
type Verify struct {