Explorar o código

add plain text link to email address confirmation emails

Tim Alby %!s(int64=8) %!d(string=hai) anos
pai
achega
4e9737bf71
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      services/web/app/coffee/Features/Email/EmailBuilder.coffee

+ 2 - 0
services/web/app/coffee/Features/Email/EmailBuilder.coffee

@@ -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
 })