X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=server%2Froutes%2Fusers.js;h=942f4b8db46681e1e9131616a4e171a56fb219b8;hb=fbd20b7ecf2bec69df1d5c09e77acad4d4536874;hp=ebc77cced3abd1b87e49028c2b9bf0ad8a5b7997;hpb=fcbc92c26e382e425d3d4cc4910eaf1a1d61c989;p=vchess.git diff --git a/server/routes/users.js b/server/routes/users.js index ebc77cce..942f4b8d 100644 --- a/server/routes/users.js +++ b/server/routes/users.js @@ -51,9 +51,9 @@ function setAndSendLoginToken(subject, to, res) if (!!err) return res.json({errmsg: err.toString()}); const body = - "Hello " + to.name + "!\\n" + + "Hello " + to.name + "!" + params.lineBreak + "Access your account here: " + - params.siteURL + "/#/authenticate/" + token + "\\n" + + params.siteURL + "/#/authenticate/" + token + params.lineBreak + "Token will expire in " + params.token.expire/(1000*60) + " minutes." sendEmail(params.mail.noreply, to.email, subject, body, err => { res.json(err || {});