From 2e4b8ae4858616572deec6ebdaa38f20ae96be7a Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Fri, 11 Dec 2020 00:10:37 +0100 Subject: emailer: use instance name instead of hostname --- server/lib/emails/verify-email/html.pug | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/lib/emails/verify-email') diff --git a/server/lib/emails/verify-email/html.pug b/server/lib/emails/verify-email/html.pug index 8a4a77703..e6d805a16 100644 --- a/server/lib/emails/verify-email/html.pug +++ b/server/lib/emails/verify-email/html.pug @@ -6,9 +6,9 @@ block title block content p Welcome to PeerTube! p. - You just created an account #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}], your new PeerTube instance. + You just created an account #[a(href=WEBSERVER.URL) #{instanceName}], your new PeerTube instance. Your username there is: #{username}. p. - To start using PeerTube on #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}] you must verify your email first! + To start using PeerTube on #[a(href=WEBSERVER.URL) #{instanceName}] you must verify your email first! Please follow #[a(href=verifyEmailUrl) this link] to verify this email belongs to you: #[a(href=verifyEmailUrl) #{verifyEmailUrl}] If you are not the person who initiated this request, please ignore this email. \ No newline at end of file -- cgit v1.2.3