aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-04-15 09:29:53 +0200
committerChocobozzz <me@florianbigard.com>2018-04-15 09:29:53 +0200
commit37ddeba57f4c2aa85475fd3ef4498bb2802e1c7c (patch)
treeec7bbff93cf9a0508bf690be5e01ce0e37c4825d
parent2f3d0f2639bb9c883abe19db8844c0d910c04e01 (diff)
downloadPeerTube-37ddeba57f4c2aa85475fd3ef4498bb2802e1c7c.tar.gz
PeerTube-37ddeba57f4c2aa85475fd3ef4498bb2802e1c7c.tar.zst
PeerTube-37ddeba57f4c2aa85475fd3ef4498bb2802e1c7c.zip
Don't add a dot after the url in forgot password email
-rw-r--r--server/lib/emailer.ts2
1 files changed, 1 insertions, 1 deletions
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 {
75 addForgetPasswordEmailJob (to: string, resetPasswordUrl: string) { 75 addForgetPasswordEmailJob (to: string, resetPasswordUrl: string) {
76 const text = `Hi dear user,\n\n` + 76 const text = `Hi dear user,\n\n` +
77 `It seems you forgot your password on ${CONFIG.WEBSERVER.HOST}! ` + 77 `It seems you forgot your password on ${CONFIG.WEBSERVER.HOST}! ` +
78 `Please follow this link to reset it: ${resetPasswordUrl}.\n\n` + 78 `Please follow this link to reset it: ${resetPasswordUrl}\n\n` +
79 `If you are not the person who initiated this request, please ignore this email.\n\n` + 79 `If you are not the person who initiated this request, please ignore this email.\n\n` +
80 `Cheers,\n` + 80 `Cheers,\n` +
81 `PeerTube.` 81 `PeerTube.`