Change password reset email URL to hard coded URL.
authorMadhusudan.C.S <madhusudancs@gmail.com>
Mon, 31 Jan 2011 01:36:43 +0530
changeset 534 9627f119f14e
parent 533 773dc9a66748
child 535 d90684a803c1
Change password reset email URL to hard coded URL.
pytask/templates/registration/password_reset_email.html
--- a/pytask/templates/registration/password_reset_email.html	Mon Jan 31 01:22:18 2011 +0530
+++ b/pytask/templates/registration/password_reset_email.html	Mon Jan 31 01:36:43 2011 +0530
@@ -4,7 +4,9 @@
 
 {% trans "Please go to the following page and choose a new password:" %}
 {% block reset_link %}
-{{ protocol }}://{{ domain }}{% url auth_password_reset_confirm uidb36=uid, token=token %}
+{% comment%}TODO: URL is hardcoded because domain already contains the URL prefix.
+Should fix this hard coded URL.{% endcomment %}
+{{ protocol }}://{{ domain }}/accounts/password/reset/confirm/{{ uid }}-{{ token }}
 {% endblock %}
 {% trans "Your username, in case you've forgotten:" %} {{ user.username }}