0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Fixed #23793 -- Clarified password reset messages.

This commit is contained in:
Yigit Guler 2014-11-15 16:50:22 +02:00 committed by Erik Romijn
parent 83d104d61a
commit 9dde0a211e
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@
{% block content_title %}<h1>{{ title }}</h1>{% endblock %}
{% block content %}
<p>{% trans "We've emailed you instructions for setting your password. You should be receiving them shortly." %}</p>
<p>{% trans "We've emailed you instructions for setting your password, if an account exists with the email you entered. You should receive them shortly." %}</p>
<p>{% trans "If you don't receive an email, please make sure you've entered the address you registered with, and check your spam folder." %}</p>

View File

@ -187,7 +187,7 @@ def password_reset_done(request,
template_name='registration/password_reset_done.html',
current_app=None, extra_context=None):
context = {
'title': _('Password reset successful'),
'title': _('Password reset sent'),
}
if extra_context is not None:
context.update(extra_context)