填充默认配置

This commit is contained in:
xmdhs 2023-11-25 16:53:42 +08:00
parent e1517d4243
commit 2d1cb1546f
No known key found for this signature in database
GPG Key ID: E809D6D43DEFCC95

View File

@ -85,7 +85,15 @@ func Default() Config {
ServerName: "没有设置名字",
Captcha: Captcha{},
Email: EmailConfig{
Smtp: []SmtpUser{},
Smtp: []SmtpUser{
{
Host: "",
Port: 0,
SSL: false,
Name: "",
Pass: "",
},
},
AllowDomain: []string{},
},
}