PLT-2971 Added email footer for address (#3319)
* Added email footer for address * added default * Update html.go * Changed according to PM
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
4e38796e69
Коммит
3f333678d8
@@ -128,6 +128,7 @@ type EmailSettings struct {
|
||||
RequireEmailVerification bool
|
||||
FeedbackName string
|
||||
FeedbackEmail string
|
||||
FeedbackOrganization *string
|
||||
SMTPUsername string
|
||||
SMTPPassword string
|
||||
SMTPServer string
|
||||
@@ -375,6 +376,11 @@ func (o *Config) SetDefaults() {
|
||||
*o.EmailSettings.PushNotificationContents = GENERIC_NOTIFICATION
|
||||
}
|
||||
|
||||
if o.EmailSettings.FeedbackOrganization == nil {
|
||||
o.EmailSettings.FeedbackOrganization = new(string)
|
||||
*o.EmailSettings.FeedbackOrganization = ""
|
||||
}
|
||||
|
||||
if !IsSafeLink(o.SupportSettings.TermsOfServiceLink) {
|
||||
o.SupportSettings.TermsOfServiceLink = nil
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user