Skip to content

Commit

Permalink
Update url in password reset email. (#366)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahboyce authored Mar 30, 2024
1 parent 1b52349 commit 123929b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
Your username, in case you’ve forgotten: {{ user.get_username }}
</p>
{% endblock before_cta %}
{% block cta_button %}<a href="{{ protocol }}://{{ domain }}/reset/{{ uid }}/{{ token }}/" target="_blank" style="border: solid 2px #5c0287; border-radius: 4px; box-sizing: border-box; cursor: pointer; display: inline-block; font-size: 16px; font-weight: bold; margin: 0; padding: 12px 24px; text-decoration: none; text-transform: capitalize; background-color: #5c0287; border-color: #5c0287; color: #ffffff;">Reset Password</a>{% endblock cta_button %}
{% block cta_button %}<a href="{{ protocol }}://{{ domain }}{% url 'password_reset_confirm' uidb64=uid token=token %}" target="_blank" style="border: solid 2px #5c0287; border-radius: 4px; box-sizing: border-box; cursor: pointer; display: inline-block; font-size: 16px; font-weight: bold; margin: 0; padding: 12px 24px; text-decoration: none; text-transform: capitalize; background-color: #5c0287; border-color: #5c0287; color: #ffffff;">Reset Password</a>{% endblock cta_button %}

0 comments on commit 123929b

Please sign in to comment.