X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=server%2Fmodels%2FUser.js;h=70d8b52151ab306fad3713fc5ad3786d8b884c6e;hb=a749972cf93fd021dda11389753ae4985ff61b42;hp=ff019bdbd873ce4c7989e6ad6fefd0aa31e10ce2;hpb=fe4c7e67075416c48aafe9e307bef5afea7937bc;p=vchess.git diff --git a/server/models/User.js b/server/models/User.js index ff019bdb..70d8b521 100644 --- a/server/models/User.js +++ b/server/models/User.js @@ -134,7 +134,8 @@ const UserModel = notify: function(user, message) { const subject = "vchess.club - notification"; - const body = "Hello " + user.name + "!\n" + message; + const body = "Hello " + user.name + "!" + ` +` + message; sendEmail(params.mail.noreply, user.email, subject, body); },