forked from External/ergo
accounts: Fix broken numeric, write more framework for reg
This commit is contained in:
parent
e4b6c1852b
commit
e7fced804e
3 changed files with 64 additions and 6 deletions
|
|
@ -159,8 +159,8 @@ func NewServer(config *Config) *Server {
|
|||
if server.accountRegistration.Enabled {
|
||||
// 'none' isn't shown in the REGCALLBACKS vars
|
||||
var enabledCallbackTypes []string
|
||||
for _, name := range server.accountRegistration.EnabledRegistrationCallbackTypes {
|
||||
if name != "none" {
|
||||
for _, name := range server.accountRegistration.EnabledCallbackTypes {
|
||||
if name != "*" {
|
||||
enabledCallbackTypes = append(enabledCallbackTypes, name)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue