Fix email formatting (I think)
[vchess.git] / server / routes / users.js
index e685a57..0302b1c 100644 (file)
@@ -52,10 +52,10 @@ function setAndSendLoginToken(subject, to, res)
       return res.json({errmsg: err.toString()});
     const body =
       "Hello " + to.name + "!" + `
-      ` +
+` +
       "Access your account here: " +
       params.siteURL + "/#/authenticate/" + token + `
-      ` +
+` +
       "Token will expire in " + params.token.expire/(1000*60) + " minutes."
     sendEmail(params.mail.noreply, to.email, subject, body, err => {
       res.json(err || {});