[MM-41671] Support Email Position+Validation (#19590)

Этот коммит содержится в:
Julien Tant
2022-02-23 08:04:29 -07:00
коммит произвёл GitHub
родитель d04b69c9cb
Коммит 53919bd332
2 изменённых файлов: 2 добавлений и 3 удалений

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

@@ -147,8 +147,7 @@ func updateConfig(c *Context, w http.ResponseWriter, r *http.Request) {
c.App.HandleMessageExportConfig(cfg, appCfg)
err := cfg.IsValid()
if err != nil {
if err := cfg.IsValid(); err != nil {
c.Err = err
return
}

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

@@ -1739,7 +1739,7 @@ type SupportSettings struct {
AboutLink *string `access:"site_customization,write_restrictable,cloud_restrictable"`
HelpLink *string `access:"site_customization,write_restrictable,cloud_restrictable"`
ReportAProblemLink *string `access:"site_customization,write_restrictable,cloud_restrictable"`
SupportEmail *string `access:"site_customization"`
SupportEmail *string `access:"site_notifications"`
CustomTermsOfServiceEnabled *bool `access:"compliance_custom_terms_of_service"`
CustomTermsOfServiceReAcceptancePeriod *int `access:"compliance_custom_terms_of_service"`
EnableAskCommunityLink *bool `access:"site_customization"`