From 31ec79290aca63f1bef6c6b11a572b616436c8d0 Mon Sep 17 00:00:00 2001 From: Adarnof Date: Wed, 6 Jan 2016 00:32:13 +0000 Subject: [PATCH] Updated password reset email to determin domain #160 --- stock/templates/registration/password_reset_email.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stock/templates/registration/password_reset_email.html b/stock/templates/registration/password_reset_email.html index 63d42122..1b3d2c05 100644 --- a/stock/templates/registration/password_reset_email.html +++ b/stock/templates/registration/password_reset_email.html @@ -4,12 +4,12 @@ {% trans "Please go to the following page and choose a new password:" %} {% block reset_link %} - https://someurl.com{% url 'password_reset_confirm' uidb64=uid token=token %} + {{domain}}{% url 'password_reset_confirm' uidb64=uid token=token %} {% endblock %} {% trans "Your username, in case you've forgotten:" %} {{ user.get_username }} {% trans "Thanks for using our site!" %} - {% blocktrans %}Your Corporation{% endblocktrans %} + {% blocktrans %}Your IT Team{% endblocktrans %} {% endautoescape %}