diff --git a/lms/templates/registration/password_reset_email.html b/lms/templates/registration/password_reset_email.html index 2ede792e69..e7bbc6cf35 100644 --- a/lms/templates/registration/password_reset_email.html +++ b/lms/templates/registration/password_reset_email.html @@ -3,7 +3,7 @@ {% trans "Please go to the following page and choose a new password:" %} {% block reset_link %} -https://{{domain}}{% url 'student.views.password_reset_confirm_wrapper' uidb36=uid token=token %} +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." %}