From 2d1cb1546f7b971e77d4257ca900270b52a6613c Mon Sep 17 00:00:00 2001 From: xmdhs Date: Sat, 25 Nov 2023 16:53:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A1=AB=E5=85=85=E9=BB=98=E8=AE=A4=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/config.go | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config/config.go b/config/config.go index b55aee1..f8cf9a7 100644 --- a/config/config.go +++ b/config/config.go @@ -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{}, }, }