From 2b10ef97b230c2a8780bda69c5b2e531dce596e0 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Thu, 25 Feb 2016 23:04:19 -0500 Subject: [PATCH] closes #4262 --- public/language/en_GB/pages.json | 2 ++ src/controllers/index.js | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/public/language/en_GB/pages.json b/public/language/en_GB/pages.json index 6d87cb70c5..bbdf3cdc47 100644 --- a/public/language/en_GB/pages.json +++ b/public/language/en_GB/pages.json @@ -45,6 +45,8 @@ "account/downvoted": "Posts downvoted by %1", "account/best": "Best posts made by %1", + "confirm": "Email Confirmed", + "maintenance.text": "%1 is currently undergoing maintenance. Please come back another time.", "maintenance.messageIntro": "Additionally, the administrator has left this message:", diff --git a/src/controllers/index.js b/src/controllers/index.js index 8ff28bd50e..cc83f0727a 100644 --- a/src/controllers/index.js +++ b/src/controllers/index.js @@ -182,7 +182,8 @@ Controllers.compose = function(req, res, next) { Controllers.confirmEmail = function(req, res, next) { user.email.confirm(req.params.code, function (err) { res.render('confirm', { - error: err ? err.message : '' + error: err ? err.message : '', + title: '[[pages:confirm]]', }); }); };