Explorar el Código

Merge pull request #1803 from overleaf/spd-email-login-url

Fix path to login URL in account migration emails

GitOrigin-RevId: 609445ad5f214deb7da3966806ff512c4a7a3d55
Simon Detheridge hace 7 años
padre
commit
a0adde3573
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      services/web/app/coffee/Features/Email/EmailBuilder.coffee

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

@@ -166,7 +166,7 @@ When you next log in, you may be prompted to reconfirm your email address in ord
 If you have any questions, please contact our support team by reply.
 If you have any questions, please contact our support team by reply.
 """
 """
 	ctaText: () -> "Log in to #{ settings.appName }"
 	ctaText: () -> "Log in to #{ settings.appName }"
-	ctaURL: () -> settings.siteUrl + "login"
+	ctaURL: () -> settings.siteUrl + "/login"
 })
 })
 
 
 templates.emailAddressPoachedEmail = CTAEmailTemplate({
 templates.emailAddressPoachedEmail = CTAEmailTemplate({
@@ -211,7 +211,7 @@ If you have any questions, you can contact our support team by reply.
 """
 """
 		return message
 		return message
 	ctaText: () -> "Log in to #{ settings.appName }"
 	ctaText: () -> "Log in to #{ settings.appName }"
-	ctaURL: () -> settings.siteUrl + "login"
+	ctaURL: () -> settings.siteUrl + "/login"
 })
 })
 
 
 module.exports =
 module.exports =