Code

Ticket #8129: new_email.diff

File new_email.diff, 691 bytes (added by davenaff, 6 years ago)
Line 
1Index: contrib/admin/templates/registration/password_reset_email.html
2===================================================================
3--- contrib/admin/templates/registration/password_reset_email.html      (revision 8207)
4+++ contrib/admin/templates/registration/password_reset_email.html      (working copy)
5@@ -4,7 +4,7 @@
6 
7 {% trans "Please go to the following page and choose a new password:" %}
8 {% block reset_link %}
9-{{ protocol }}://{{ domain }}/reset/{{ uid }}-{{ token }}/
10+{{ protocol }}://{{ domain }}{% url django.contrib.auth.views.password_reset_confirm uidb36=uid, token=token %}
11 {% endblock %}
12 {% trans "Your username, in case you've forgotten:" %} {{ user.username }}
13