Use email instead of team name in "<user> invites you to their account" emails. Unfortunately the team name is being abused for spam.

This commit is contained in:
Pēteris Caune 2018-12-12 16:35:31 +02:00
parent 5be6c403a4
commit 837cac300d
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ Hello,
<br /> <br />
{% if inviting_profile %} {% if inviting_profile %}
<strong>{{ inviting_profile }}</strong> invites you to their <strong>{{ inviting_profile.user.email }}</strong> invites you to their
<a href="{% site_root %}">{% site_name %}</a> account. <a href="{% site_root %}">{% site_name %}</a> account.
<br /><br /> <br /><br />

View File

@ -1,7 +1,7 @@
{% load hc_extras %} {% load hc_extras %}
{% block content %}Hello, {% block content %}Hello,
{% if inviting_profile %} {% 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 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 ones. If you already have your own account on {% site_name %}, you will