From 37ddeba57f4c2aa85475fd3ef4498bb2802e1c7c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Sun, 15 Apr 2018 09:29:53 +0200 Subject: [PATCH] Don't add a dot after the url in forgot password email --- server/lib/emailer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts index d17749b9a..88a06cb79 100644 --- a/server/lib/emailer.ts +++ b/server/lib/emailer.ts @@ -75,7 +75,7 @@ class Emailer { addForgetPasswordEmailJob (to: string, resetPasswordUrl: string) { const text = `Hi dear user,\n\n` + `It seems you forgot your password on ${CONFIG.WEBSERVER.HOST}! ` + - `Please follow this link to reset it: ${resetPasswordUrl}.\n\n` + + `Please follow this link to reset it: ${resetPasswordUrl}\n\n` + `If you are not the person who initiated this request, please ignore this email.\n\n` + `Cheers,\n` + `PeerTube.` -- 2.25.1