From f53871dbb29b5f7f4dd8d72e76387ad8f1d7863b Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Mon, 9 Mar 2020 19:11:10 +0100 Subject: [PATCH] Cosmetics --- server/models/User.js | 2 +- server/routes/users.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/models/User.js b/server/models/User.js index 2984af49..9b3049be 100644 --- a/server/models/User.js +++ b/server/models/User.js @@ -118,7 +118,7 @@ const UserModel = notify: function(user, message) { const subject = "vchess.club - notification"; - const body = "Hello " + user.name + "!" + ` + const body = "Hello " + user.name + " !" + ` ` + message; sendEmail(params.mail.noreply, user.email, subject, body); }, diff --git a/server/routes/users.js b/server/routes/users.js index 2b38c37f..4e51ee13 100644 --- a/server/routes/users.js +++ b/server/routes/users.js @@ -90,7 +90,7 @@ function setAndSendLoginToken(subject, to, res) const token = genToken(params.token.length); UserModel.setLoginToken(token, to.id); const body = - "Hello " + to.name + "!" + ` + "Hello " + to.name + " !" + ` ` + "Access your account here: " + params.siteURL + "/#/authenticate/" + token + ` -- 2.44.0