Add some text to the password reset email

What we had before was a little bit terse, so add some reasonable text.

Also mention in the confirmation page that sending an email is
predicated on there actually being an account matching the specified
email address (and we deliberately don't specify whether there is or
not, in order to prevent user enumeration).

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2018-10-19 16:16:30 +13:00
parent 5d308d943e
commit 047fc704f7
2 changed files with 7 additions and 2 deletions

View File

@ -2,5 +2,5 @@
{% load i18n %} {% load i18n %}
{% block content %} {% block content %}
<p>{% trans "An email with password reset instructions has been sent." %}</p> <p>{% trans "If an account exists with the specified email address, an email with password reset instructions has been sent." %}</p>
{% endblock %} {% endblock %}

View File

@ -1,5 +1,10 @@
{% load i18n %} {% load i18n %}
{% blocktrans %}Reset password at {{ site_name }}{% endblocktrans %}: {% blocktrans %}Someone, possibly you, requested to reset the password for your account at {{ site_name }}.
If you did request to reset your password, please click on the following link to do so:{% endblocktrans %}
{% block reset_link %} {% block reset_link %}
{{ protocol }}://{{ domain }}{% url "auth_password_reset_confirm" uidb64=uid token=token %} {{ protocol }}://{{ domain }}{% url "auth_password_reset_confirm" uidb64=uid token=token %}
{% endblock %} {% endblock %}
{% blocktrans %}If you did not make this request then please ignore this message.{% endblocktrans %}