From a17274ab52591468ce6a3270ba133d2714537ba0 Mon Sep 17 00:00:00 2001
From: Lloyd Hilaiel <lloyd@hilaiel.com>
Date: Fri, 4 Nov 2011 01:11:19 -0600
Subject: [PATCH] fix broken informational log message that reports SMTP user. 
 closes #532

---
 lib/browserid/email.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/browserid/email.js b/lib/browserid/email.js
index 0a1711529..b3b746018 100644
--- a/lib/browserid/email.js
+++ b/lib/browserid/email.js
@@ -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);
   }
 }
 
-- 
GitLab