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 18:09:41 +02:00
parent 837cac300d
commit a3ddf0ddef
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2

View File

@ -1,6 +1,6 @@
{% load hc_extras %} {% load hc_extras %}
{% if inviting_profile %} {% if inviting_profile %}
You have been invited to join {{ inviting_profile }} on {% site_name %} You have been invited to join {{ inviting_profile.user.email }} on {% site_name %}
{% else %} {% else %}
Log in to {% site_name %} Log in to {% site_name %}
{% endif %} {% endif %}