diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-10 15:56:13 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-11-10 15:56:13 +0100 |
commit | b9cf3fb6381f71c976fbe515f728082d90a9c437 (patch) | |
tree | 4d9436c709c504c2c54145e53ddac963c6f96f3a /server/lib/emailer.ts | |
parent | 10c8b0b743ae5aa7e89c7fe5745821278b71d52c (diff) | |
download | PeerTube-b9cf3fb6381f71c976fbe515f728082d90a9c437.tar.gz PeerTube-b9cf3fb6381f71c976fbe515f728082d90a9c437.tar.zst PeerTube-b9cf3fb6381f71c976fbe515f728082d90a9c437.zip |
Fix email footer
Do not include notif preferences in contact form email
Diffstat (limited to 'server/lib/emailer.ts')
-rw-r--r-- | server/lib/emailer.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/lib/emailer.ts b/server/lib/emailer.ts index 6532fb4b4..708808cf2 100644 --- a/server/lib/emailer.ts +++ b/server/lib/emailer.ts | |||
@@ -606,7 +606,10 @@ class Emailer { | |||
606 | locals: { | 606 | locals: { |
607 | fromName, | 607 | fromName, |
608 | fromEmail, | 608 | fromEmail, |
609 | body | 609 | body, |
610 | |||
611 | // There are not notification preferences for the contact form | ||
612 | hideNotificationPreferences: true | ||
610 | } | 613 | } |
611 | } | 614 | } |
612 | 615 | ||