mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
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:
parent
5d308d943e
commit
047fc704f7
|
@ -2,5 +2,5 @@
|
|||
{% load i18n %}
|
||||
|
||||
{% 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 %}
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
{% 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 %}
|
||||
{{ protocol }}://{{ domain }}{% url "auth_password_reset_confirm" uidb64=uid token=token %}
|
||||
{% endblock %}
|
||||
|
||||
{% blocktrans %}If you did not make this request then please ignore this message.{% endblocktrans %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user