Merge pull request #984 from sharelatex/ta-email-cta-link

add plain text link to email address confirmation emails
This commit is contained in:
Timothée Alby 2018-10-03 14:20:05 +01:00 committed by GitHub
commit e3cfa36b56

View file

@ -97,6 +97,8 @@ templates.confirmEmail = CTAEmailTemplate({
title: () -> "Confirm Email"
message: () -> "Please confirm your email on #{settings.appName}."
ctaText: () -> "Confirm Email"
secondaryMessage: (opts) ->
"If the button does not appear, open this link in your browser: #{opts.confirmEmailUrl}"
ctaURL: (opts) -> opts.confirmEmailUrl
})