Skip to content
Snippets Groups Projects
Unverified Commit d15a3e9e authored by Todd Dembrey's avatar Todd Dembrey Committed by GitHub
Browse files

Merge pull request #466 from OpenTechFund/bugfix/password-reset-url

Make sure the account reset email goes to the correct site
parents d2484c62 b8b8cf94
No related branches found
No related tags found
No related merge requests found
{% load i18n wagtailadmin_tags %}{% base_url_setting as base_url %}
{% trans "Please follow the link below to reset your password:" %}
{% if base_url %}{{ base_url }}{% else %}{{ protocol }}://{{ domain }}{% endif %}{% url 'users:password_reset_confirm' uidb64=uid token=token %}
{% if site.root_url %}{{ site.root_url }}{% else %}{{ base_url }}{% endif %}{% url 'users:password_reset_confirm' uidb64=uid token=token %}
{% if user.USERNAME_FIELD != "email" %}
{% trans "Your username (in case you've forgotten):" %} {{ user.get_username }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment