mirror of https://github.com/django/django.git
Fixed #23793 -- Clarified password reset messages.
This commit is contained in:
parent
83d104d61a
commit
9dde0a211e
|
@ -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>
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue