From 6fd3466db193fc2f49f846d9f8e275377f43ee16 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Sat, 7 Jan 2017 12:29:40 -0800 Subject: [PATCH] Send cert renewal errors to support@cloudron.io as well Part of #166 --- src/mailer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mailer.js b/src/mailer.js index 845501d1f..637e1684c 100644 --- a/src/mailer.js +++ b/src/mailer.js @@ -490,7 +490,7 @@ function certificateRenewalError(domain, message) { var mailOptions = { from: mailConfig().from, - to: config.provider() === 'caas' ? 'support@cloudron.io' : adminEmails.join(', '), + to: config.provider() === 'caas' ? 'support@cloudron.io' : adminEmails.concat('support@cloudron.io').join(', '), subject: util.format('[%s] Certificate renewal error', domain), text: render('certificate_renewal_error.ejs', { domain: domain, message: message, format: 'text' }) };