From 74aaa0a9262721e6a689b0650c956c8a4f665cec Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 16 Jun 2021 14:57:26 -0400 Subject: [PATCH] feat: show different registration intersitial lead text on new account vs. existing --- public/language/en-GB/register.json | 3 ++- src/controllers/index.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/public/language/en-GB/register.json b/public/language/en-GB/register.json index 5d9655aaba..5ab3edd128 100644 --- a/public/language/en-GB/register.json +++ b/public/language/en-GB/register.json @@ -20,7 +20,8 @@ "registration-added-to-queue": "Your registration has been added to the approval queue. You will receive an email when it is accepted by an administrator.", "registration-queue-average-time": "Our average time for approving memberships is %1 hours %2 minutes.", "registration-queue-auto-approve-time": "Your membership to this forum will be fully activated in up to %1 hours.", - "interstitial.intro": "We require some additional information before we can create your account.", + "interstitial.intro": "We'd like some additional information in order to update your account…", + "interstitial.intro-new": "We'd like some additional information before we can create your account…", "interstitial.errors-found": "We could not complete your registration:", "gdpr_agree_data": "I consent to the collection and processing of my personal information on this website.", "gdpr_agree_email": "I consent to receive digest and notification emails from this website.", diff --git a/src/controllers/index.js b/src/controllers/index.js index 12acaef9d6..d480eb033b 100644 --- a/src/controllers/index.js +++ b/src/controllers/index.js @@ -212,7 +212,8 @@ Controllers.registerInterstitial = async function (req, res, next) { res.render('registerComplete', { title: '[[pages:registration-complete]]', - sections: sections, + register: data.userData.register, + sections, errors, }); } catch (err) {