diff --git a/internal/service/dashboard/dashboard_service.go b/internal/service/dashboard/dashboard_service.go index 5d3aa4ed..c9b6efe1 100644 --- a/internal/service/dashboard/dashboard_service.go +++ b/internal/service/dashboard/dashboard_service.go @@ -235,6 +235,7 @@ func (ds *dashboardService) remoteVersion(ctx context.Context) string { } func (ds *dashboardService) smtpStatus(ctx context.Context) (smtpStatus string) { + smtpStatus = "not_configured" emailConf, err := ds.configService.GetStringValue(ctx, "email.config") if err != nil { log.Errorf("get email config failed: %s", err)