]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Don't add a dot after the url in forgot password email
authorChocobozzz <me@florianbigard.com>
Sun, 15 Apr 2018 07:29:53 +0000 (09:29 +0200)
committerChocobozzz <me@florianbigard.com>
Sun, 15 Apr 2018 07:29:53 +0000 (09:29 +0200)
server/lib/emailer.ts

index d17749b9ab430d2ed03ac1e0de01c85eb690a40b..88a06cb795e25c460d3039ff5408d0bf1e0fc5be 100644 (file)
@@ -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.`