From a3ddf0ddef456ac78547083076ae020a9d9caa86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Wed, 12 Dec 2018 18:09:41 +0200 Subject: [PATCH] Use email instead of team name in " invites you to their account" emails. Unfortunately the team name is being abused for spam. --- templates/emails/login-subject.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/emails/login-subject.html b/templates/emails/login-subject.html index 5b5940c0..9e1d40d7 100644 --- a/templates/emails/login-subject.html +++ b/templates/emails/login-subject.html @@ -1,6 +1,6 @@ {% load hc_extras %} {% 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 %} Log in to {% site_name %} {% endif %}