1
0
Fork 0
forked from External/ergo

Merge pull request #1355 from slingamn/invite

security enhancements for INVITE
This commit is contained in:
Shivaram Lingamneni 2020-10-26 13:30:41 -07:00 committed by GitHub
commit 9c4b086113
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 96 additions and 19 deletions

View file

@ -577,7 +577,8 @@ type Config struct {
OperatorOnly bool `yaml:"operator-only"`
MaxChannelsPerAccount int `yaml:"max-channels-per-account"`
}
ListDelay time.Duration `yaml:"list-delay"`
ListDelay time.Duration `yaml:"list-delay"`
InviteExpiration custime.Duration `yaml:"invite-expiration"`
}
OperClasses map[string]*OperClassConfig `yaml:"oper-classes"`