Remove useless logs displaying smtp credentials

pull/119/head
Clement Michaud 2017-10-07 21:48:43 +02:00
parent 9933900395
commit a4d7ade791
1 changed files with 0 additions and 2 deletions

View File

@ -20,12 +20,10 @@ export class SmtpNotifier extends AbstractEmailNotifier {
pass: options.password pass: options.password
} }
}; };
console.log(smtpOptions);
const transporter = nodemailer.createTransport(smtpOptions); const transporter = nodemailer.createTransport(smtpOptions);
this.transporter = BluebirdPromise.promisifyAll(transporter); this.transporter = BluebirdPromise.promisifyAll(transporter);
// verify connection configuration // verify connection configuration
console.log("Checking SMTP server connection.");
transporter.verify(function (error, success) { transporter.verify(function (error, success) {
if (error) { if (error) {
throw new Error("Unable to connect to SMTP server. \ throw new Error("Unable to connect to SMTP server. \