From: Benjamin Auder Date: Mon, 9 Mar 2020 18:11:10 +0000 (+0100) Subject: Cosmetics X-Git-Url: https://git.auder.net/variants/current/css/img/pieces/scripts/%7B%7B%20targetUrl%20%7D%7D?a=commitdiff_plain;h=f53871dbb29b5f7f4dd8d72e76387ad8f1d7863b;p=vchess.git Cosmetics --- 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 + `