Merge pull request #21045 from salmanmanekia/MM-44790

new ui for email verification due to change in the email address
Этот коммит содержится в:
Muhammad Salman
2022-10-14 16:03:22 +03:00
коммит произвёл GitHub
родитель c57706e6f4 8bd6ec8f99
Коммит a5f6e181ee
3 изменённых файлов: 199 добавлений и 38 удалений

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

@@ -69,6 +69,10 @@ func (es *Service) SendEmailChangeVerifyEmail(newUserEmail, locale, siteURL, tok
map[string]any{"TeamDisplayName": es.config().TeamSettings.SiteName})
data.Props["VerifyUrl"] = link
data.Props["VerifyButton"] = T("api.templates.email_change_verify_body.button")
data.Props["QuestionTitle"] = T("api.templates.questions_footer.title")
data.Props["EmailInfo1"] = T("api.templates.email_us_anytime_at")
data.Props["SupportEmail"] = "feedback@mattermost.com"
data.Props["FooterV2"] = T("api.templates.email_footer_v2")
body, err := es.templatesContainer.RenderToString("email_change_verify_body", data)
if err != nil {