diff options
author | Madhusudan.C.S | 2011-01-31 01:36:43 +0530 |
---|---|---|
committer | Madhusudan.C.S | 2011-01-31 01:36:43 +0530 |
commit | b7d82804e6941c0124472ef5bb7bb34c54bf62e3 (patch) | |
tree | 149891012933ce8067c726e8408524847861357c | |
parent | 2deb3dd8b90513d174d93fd091d43638ef3ffc0e (diff) | |
download | pytask-b7d82804e6941c0124472ef5bb7bb34c54bf62e3.tar.gz pytask-b7d82804e6941c0124472ef5bb7bb34c54bf62e3.tar.bz2 pytask-b7d82804e6941c0124472ef5bb7bb34c54bf62e3.zip |
Change password reset email URL to hard coded URL.
-rw-r--r-- | pytask/templates/registration/password_reset_email.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pytask/templates/registration/password_reset_email.html b/pytask/templates/registration/password_reset_email.html index 9667f82..5bf0c6d 100644 --- a/pytask/templates/registration/password_reset_email.html +++ b/pytask/templates/registration/password_reset_email.html @@ -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 }} |