This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user