mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
Remove useless logs displaying smtp credentials
This commit is contained in:
parent
9933900395
commit
a4d7ade791
|
@ -20,12 +20,10 @@ export class SmtpNotifier extends AbstractEmailNotifier {
|
|||
pass: options.password
|
||||
}
|
||||
};
|
||||
console.log(smtpOptions);
|
||||
const transporter = nodemailer.createTransport(smtpOptions);
|
||||
this.transporter = BluebirdPromise.promisifyAll(transporter);
|
||||
|
||||
// verify connection configuration
|
||||
console.log("Checking SMTP server connection.");
|
||||
transporter.verify(function (error, success) {
|
||||
if (error) {
|
||||
throw new Error("Unable to connect to SMTP server. \
|
||||
|
|
Loading…
Reference in New Issue
Block a user