精简初始化通知设置并默认使用Smail系统通知身份发信

This commit is contained in:
xuans committed 2026-09-26 22:50:04 +08:00
1 parent 229d150a08
commit a9937c3e6a
16 files changed
+186 -48

No files matched your search

+1 -1
View File
@@ -716,7 +716,7 @@ func TestSetupLateFailureDeletesNewNotificationCredentials(t *testing.T) {
"email_smtp_enabled":true,
"email_smtp_host":"smtp.example.test",
"email_smtp_port":587,
"email_smtp_username":"smtp-user",
"email_smtp_username":"notify:smtp-user@example.test",
"email_smtp_password":"smtp-secret",
"email_smtp_mode":"starttls",`, 1)
request := httptest.NewRequest(http.MethodPost, "/api/v1/setup", strings.NewReader(payload))