Files
edx-platform/lms/templates/registration/password_reset_email.html
Matjaz Gregoric 1cb7628d8b Don't hardcode https protocol in password reset email.
Use http or https, depending on the value of `is_secure`.
This is similar to how links in some other email templates work.
2014-04-02 16:46:01 +02:00

16 lines
668 B
HTML

{% load i18n %}{% load url from future %}{% autoescape off %}
{% blocktrans %}You're receiving this e-mail because you requested a password reset for your user account at edx.org.{% endblocktrans %}
{% trans "Please go to the following page and choose a new password:" %}
{% block reset_link %}
http{% if is_secure %}s{% endif %}://{{domain}}{% url 'student.views.password_reset_confirm_wrapper' uidb36=uid token=token %}
{% endblock %}
{% trans "If you didn't request this change, you can disregard this email - we have not yet reset your password." %}
{% trans "Thanks for using our site!" %}
{% blocktrans %}The edX Team{% endblocktrans %}
{% endautoescape %}