Complete asking for password reset
This commit is contained in:
parent
7be578615c
commit
ce2baaebe1
9
html/registration/password_reset_done.html
Normal file
9
html/registration/password_reset_done.html
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{% extends "base.html" %}
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
|
||||||
|
<p>{% trans "We've e-mailed you instructions for setting your password to the e-mail address you submitted. You should be receiving it shortly." %}</p>
|
||||||
|
|
||||||
|
{% endblock %}
|
14
html/registration/password_reset_email.html
Normal file
14
html/registration/password_reset_email.html
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{% load i18n %}{% load url from future %}{% autoescape off %}
|
||||||
|
{% blocktrans %}You're receiving this e-mail because you requested a password reset for your user account at {{ site_name }}.{% endblocktrans %}
|
||||||
|
|
||||||
|
{% trans "Please go to the following page and choose a new password:" %}
|
||||||
|
{% block reset_link %}
|
||||||
|
{{ protocol }}://{{ domain }}{% url 'django.contrib.auth.views.password_reset_confirm' uidb36=uid token=token %}
|
||||||
|
{% endblock %}
|
||||||
|
{% trans "Your username, in case you've forgotten:" %} {{ user.username }}
|
||||||
|
|
||||||
|
{% trans "Thanks for using our site!" %}
|
||||||
|
|
||||||
|
{% blocktrans %}The {{ site_name }} team{% endblocktrans %}
|
||||||
|
|
||||||
|
{% endautoescape %}
|
Loading…
Reference in New Issue
Block a user