Updated password reset email to determin domain #160

This commit is contained in:
Adarnof 2016-01-06 00:32:13 +00:00
parent 50ea33a247
commit 31ec79290a

View File

@ -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 %}