Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

emails: remove hardcoded PeerTube names

kontrollanten40c52969f731
diff --git a/server/lib/emails/password-create/html.pug b/server/lib/emails/password-create/html.pug
index 2061435fc0..afa30ae979 100644
--- a/server/lib/emails/password-create/html.pug
+++ b/server/lib/emails/password-create/html.pug
@@ -5,6 +5,6 @@ block title
block content
p.
- Welcome to #[a(href=WEBSERVER.URL) #{instanceName}], your PeerTube instance. Your username is: #{username}.
+ Welcome to #[a(href=WEBSERVER.URL) #{instanceName}]. Your username is: #{username}.
Please set your password by following #[a(href=createPasswordUrl) this link]: #[a(href=createPasswordUrl) #{createPasswordUrl}]
(this link will expire within seven days).
\ No newline at end of file
diff --git a/server/lib/emails/password-reset/html.pug b/server/lib/emails/password-reset/html.pug
index 54a3ee6df5..2af2885bc4 100644
--- a/server/lib/emails/password-reset/html.pug
+++ b/server/lib/emails/password-reset/html.pug
@@ -7,6 +7,6 @@ block content
p.
A reset password procedure for your account #{username} has been requested on #[a(href=WEBSERVER.URL) #{instanceName}].
Please follow #[a(href=resetPasswordUrl) this link] to reset it: #[a(href=resetPasswordUrl) #{resetPasswordUrl}]
- (the link will expire within 1 hour)
+ (the link will expire within 1 hour).
p.
If you are not the person who initiated this request, please ignore this email.
diff --git a/server/lib/emails/verify-email/html.pug b/server/lib/emails/verify-email/html.pug
index e6d805a163..be9dde21b8 100644
--- a/server/lib/emails/verify-email/html.pug
+++ b/server/lib/emails/verify-email/html.pug
@@ -4,11 +4,14 @@ block title
| Account verification
block content
- p Welcome to PeerTube!
+ p Welcome to #{instanceName}!
p.
- You just created an account #[a(href=WEBSERVER.URL) #{instanceName}], your new PeerTube instance.
+ You just created an account at #[a(href=WEBSERVER.URL) #{instanceName}].
Your username there is: #{username}.
p.
- 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
+ To start using your account you must verify your email first!
+ Please follow #[a(href=verifyEmailUrl) this link] to verify this email belongs to you.
+ p.
+ If you can't see the verification link above you can use the following link #[a(href=verifyEmailUrl) #{verifyEmailUrl}]
+ p.
+ If you are not the person who initiated this request, please ignore this email.