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
This commit is contained in:
parent
222ecc08b6
commit
2c29ae1ad2
@ -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.',
|
||||
|
Loading…
Reference in New Issue
Block a user