From 2c29ae1ad21bb9c5d90721a5e8b99ac6de2474b9 Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Tue, 25 Aug 2015 09:08:11 +0100 Subject: [PATCH] Don't return from sending welcome mail closes #5675 - welcome mail is non-critical, invalid mail setups shouldn't interfere with setting up a blog --- core/server/api/authentication.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/server/api/authentication.js b/core/server/api/authentication.js index 004a47f74e..122b945a19 100644 --- a/core/server/api/authentication.js +++ b/core/server/api/authentication.js @@ -269,7 +269,7 @@ authentication = { }] }; - return mail.send(payload, {context: {internal: true}}).catch(function (error) { + mail.send(payload, {context: {internal: true}}).catch(function (error) { errors.logError( error.message, 'Unable to send welcome email, your blog will continue to function.',