Răsfoiți Sursa

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

Fix path to login URL in account migration emails

GitOrigin-RevId: 609445ad5f214deb7da3966806ff512c4a7a3d55
Simon Detheridge 7 ani în urmă
părinte
comite
a0adde3573

+ 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.
 """
 	ctaText: () -> "Log in to #{ settings.appName }"
-	ctaURL: () -> settings.siteUrl + "login"
+	ctaURL: () -> settings.siteUrl + "/login"
 })
 
 templates.emailAddressPoachedEmail = CTAEmailTemplate({
@@ -211,7 +211,7 @@ If you have any questions, you can contact our support team by reply.
 """
 		return message
 	ctaText: () -> "Log in to #{ settings.appName }"
-	ctaURL: () -> settings.siteUrl + "login"
+	ctaURL: () -> settings.siteUrl + "/login"
 })
 
 module.exports =