[MM-42703] - Add configuration setting to disable Inactive Server email notification (#19831)

* [MM-42703] - Add configuration setting to disable Inactive Server email notification

* remove log

* add config to telemetry

* fix lint
Этот коммит содержится в:
Allan Guwatudde
2022-03-30 11:31:46 +03:00
коммит произвёл GitHub
родитель 0efb7bf07d
Коммит 82c8bd33ed
4 изменённых файлов: 13 добавлений и 1 удалений

Просмотреть файл

@@ -567,6 +567,7 @@ func (ts *TelemetryService) trackConfig() {
"isdefault_login_button_border_color": isDefault(*cfg.EmailSettings.LoginButtonBorderColor, ""),
"isdefault_login_button_text_color": isDefault(*cfg.EmailSettings.LoginButtonTextColor, ""),
"smtp_server_timeout": *cfg.EmailSettings.SMTPServerTimeout,
"enable_inactivity_email": *cfg.EmailSettings.EnableInactivityEmail,
})
ts.SendTelemetry(TrackConfigRate, map[string]interface{}{