mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
fix #1107
This commit is contained in:
parent
a45e15b520
commit
61738782c0
7 changed files with 253 additions and 26 deletions
|
|
@ -278,6 +278,16 @@ type AccountConfig struct {
|
|||
Multiclient MulticlientConfig
|
||||
Bouncer *MulticlientConfig // # handle old name for 'multiclient'
|
||||
VHosts VHostConfig
|
||||
AuthScript AuthScriptConfig `yaml:"auth-script"`
|
||||
}
|
||||
|
||||
type AuthScriptConfig struct {
|
||||
Enabled bool
|
||||
Command string
|
||||
Args []string
|
||||
Autocreate bool
|
||||
Timeout time.Duration
|
||||
KillTimeout time.Duration `yaml:"kill-timeout"`
|
||||
}
|
||||
|
||||
// AccountRegistrationConfig controls account registration.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue