diff --git a/templates/emails/login-body-html.html b/templates/emails/login-body-html.html index 42df5f8f..3109d404 100644 --- a/templates/emails/login-body-html.html +++ b/templates/emails/login-body-html.html @@ -6,7 +6,7 @@ Hello,
{% if inviting_profile %} - {{ inviting_profile }} invites you to their + {{ inviting_profile.user.email }} invites you to their {% site_name %} account.

diff --git a/templates/emails/login-body-text.html b/templates/emails/login-body-text.html index d439abbe..9b238720 100644 --- a/templates/emails/login-body-text.html +++ b/templates/emails/login-body-text.html @@ -1,7 +1,7 @@ {% load hc_extras %} {% block content %}Hello, {% if inviting_profile %} -{{ inviting_profile }} invites you to their {% site_name %} account. +{{ inviting_profile.user.email }} invites you to their {% site_name %} account. You will be able to manage their existing monitoring checks and set up new ones. If you already have your own account on {% site_name %}, you will