Node.js based forum software built for the modern web
feat: show different registration intersitial lead text on new account vs. existing
Julian Lam74aaa0a92627
diff --git a/public/language/en-GB/register.json b/public/language/en-GB/register.jsonindex 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.jsindex 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) {