From 5adff6a292b0569c9053d2bfa2e08f5d3e1a9795 Mon Sep 17 00:00:00 2001 From: Mrugesh Mohapatra Date: Thu, 27 Apr 2017 12:11:06 +0530 Subject: [PATCH] fix(email): Add a trailing slash to avoid redirects --- server/views/emails/user-request-sign-in.ejs | 2 +- server/views/emails/user-request-sign-up.ejs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/views/emails/user-request-sign-in.ejs b/server/views/emails/user-request-sign-in.ejs index e5cec71ae7..866a77c96b 100644 --- a/server/views/emails/user-request-sign-in.ejs +++ b/server/views/emails/user-request-sign-in.ejs @@ -2,7 +2,7 @@ Greetings from San Francisco! Please follow the link below, and sign in to freeCodeCamp instantly: -<%= host %>/passwordless-auth?email=<%= loginEmail %>&token=<%= loginToken %> +<%= host %>/passwordless-auth/?email=<%= loginEmail %>&token=<%= loginToken %> This above link is valid for 15 minutes. diff --git a/server/views/emails/user-request-sign-up.ejs b/server/views/emails/user-request-sign-up.ejs index 514b81ae39..fadeccf4bc 100644 --- a/server/views/emails/user-request-sign-up.ejs +++ b/server/views/emails/user-request-sign-up.ejs @@ -3,7 +3,7 @@ Greetings from San Francisco! Welcome to freeCodeCamp. We've created a new account for you. Please verify and start using your profile by following the link below: -<%= host %>/passwordless-auth?email=<%= loginEmail %>&token=<%= loginToken %> +<%= host %>/passwordless-auth/?email=<%= loginEmail %>&token=<%= loginToken %> This above link is valid for 15 minutes.