fix: 将每个用户的最大会话数默认值从3改为1
All checks were successful
Build docker and publish / build (20.15.1) (push) Successful in 7m20s
All checks were successful
Build docker and publish / build (20.15.1) (push) Successful in 7m20s
This commit is contained in:
parent
1d5d361ae8
commit
7e32c571ab
@ -44,7 +44,7 @@ type RedisConfig struct {
|
|||||||
type JwtAuth struct {
|
type JwtAuth struct {
|
||||||
AccessSecret string `yaml:"AccessSecret"`
|
AccessSecret string `yaml:"AccessSecret"`
|
||||||
AccessExpire int64 `yaml:"AccessExpire" default:"604800"`
|
AccessExpire int64 `yaml:"AccessExpire" default:"604800"`
|
||||||
MaxSessionsPerUser int64 `yaml:"MaxSessionsPerUser" default:"3"`
|
MaxSessionsPerUser int64 `yaml:"MaxSessionsPerUser" default:"1"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Verify struct {
|
type Verify struct {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user