Browse Source

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

pull/211/head
Pēteris Caune 6 years ago
parent
commit
837cac300d
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      templates/emails/login-body-html.html
  2. +1
    -1
      templates/emails/login-body-text.html

+ 1
- 1
templates/emails/login-body-html.html View File

@ -6,7 +6,7 @@ Hello,
<br />
{% 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.
<br /><br />


+ 1
- 1
templates/emails/login-body-text.html View File

@ -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


Loading…
Cancel
Save