projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f3d0f2
)
Don't add a dot after the url in forgot password email
author
Chocobozzz
<me@florianbigard.com>
Sun, 15 Apr 2018 07:29:53 +0000
(09:29 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Sun, 15 Apr 2018 07:29:53 +0000
(09:29 +0200)
server/lib/emailer.ts
patch
|
blob
|
history
diff --git
a/server/lib/emailer.ts
b/server/lib/emailer.ts
index d17749b9ab430d2ed03ac1e0de01c85eb690a40b..88a06cb795e25c460d3039ff5408d0bf1e0fc5be 100644
(file)
--- 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.`