Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Adding a note to contact the person who sent the invite in case of an expired invitation (#6065)

Marko Saricd4f6ee487a60
diff --git a/lib/plausible_web/templates/email/existing_user_invitation.html.heex b/lib/plausible_web/templates/email/existing_user_invitation.html.heex
index 6e12cf854d..9825298082 100644
--- a/lib/plausible_web/templates/email/existing_user_invitation.html.heex
+++ b/lib/plausible_web/templates/email/existing_user_invitation.html.heex
@@ -1,4 +1,4 @@
{@inviter.email} has invited you to the {@site.domain} site on {Plausible.product_name()}.
<a href={Routes.site_url(PlausibleWeb.Endpoint, :index) <> "?__team=none"}>Click here</a>
to view and respond to the invitation. The invitation
-will expire 48 hours after this email is sent.
+will expire 48 hours after this email is sent. If this invitation has expired, please contact the person who invited you to ask them to resend it.
diff --git a/lib/plausible_web/templates/email/new_user_invitation.html.heex b/lib/plausible_web/templates/email/new_user_invitation.html.heex
index b5abc179a1..6c58b52d5f 100644
--- a/lib/plausible_web/templates/email/new_user_invitation.html.heex
+++ b/lib/plausible_web/templates/email/new_user_invitation.html.heex
@@ -9,4 +9,6 @@
Click here
</a>
to create your account. The link is valid for 48 hours after this email is sent. <br /><br />
+If this invitation has expired, please contact the person who invited you to ask them to resend it.
+<br /><br />
Plausible is a lightweight and open-source website analytics tool. We hope you like our simple and ethical approach to tracking website visitors.
diff --git a/lib/plausible_web/templates/email/new_user_team_invitation.html.heex b/lib/plausible_web/templates/email/new_user_team_invitation.html.heex
index 90e04d5d77..f7487af1e7 100644
--- a/lib/plausible_web/templates/email/new_user_team_invitation.html.heex
+++ b/lib/plausible_web/templates/email/new_user_team_invitation.html.heex
@@ -9,4 +9,6 @@
Click here
</a>
to create your account. The link is valid for 48 hours after this email is sent. <br /><br />
+If the invitation has expired, please contact the person who invited you and ask them to send a new one.
+<br /><br />
Plausible is a lightweight and open-source website analytics tool. We hope you like our simple and ethical approach to tracking website visitors.