Skip to content
Snippets Groups Projects
Commit eff9bf51 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

fix broken informational log message that reports SMTP user. closes #532

parent 8cb6a543
No related branches found
No related tags found
No related merge requests found
......@@ -48,10 +48,11 @@ if (smtp_params && smtp_params.host) {
emailer.SMTP = { host: smtp_params.host };
logger.info("delivering email via SMTP host: " + emailer.SMTP.host);
if (smtp_params.user) {
logger.info("authenticating to email host as" + emailer.SMTP.user);
emailer.SMTP.use_authentication = true;
emailer.SMTP.user = smtp_params.user;
emailer.SMTP.pass = smtp_params.pass;
logger.info("authenticating to email host as " + emailer.SMTP.user);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment