Skip to content

Commit bdc498c

Browse files
committed
fix(dashboard): set default smtp status
1 parent 1c5297a commit bdc498c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/service/dashboard/dashboard_service.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ func (ds *dashboardService) remoteVersion(ctx context.Context) string {
235235
}
236236

237237
func (ds *dashboardService) smtpStatus(ctx context.Context) (smtpStatus string) {
238+
smtpStatus = "not_configured"
238239
emailConf, err := ds.configService.GetStringValue(ctx, "email.config")
239240
if err != nil {
240241
log.Errorf("get email config failed: %s", err)

0 commit comments

Comments
 (0)