# HG changeset patch # User Madhusudan.C.S # Date 1296418003 -19800 # Node ID 9627f119f14e260bfea5c441edc965407e4649d2 # Parent 773dc9a6674811e7feb2b8067d0427417dc30041 Change password reset email URL to hard coded URL. diff -r 773dc9a66748 -r 9627f119f14e 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 }}