Skip to content

Commit

Permalink
Merge pull request #380 from loic425/fix/password-reset-without-front…
Browse files Browse the repository at this point in the history
…-pack

Fix password reset template if front pack is not installed
  • Loading branch information
loic425 committed Jan 4, 2022
2 parents aedf5ad + 1f4c95b commit 975fde7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
{% endblock %}

{% block body %}
{% set url = url('app_frontend_password_reset', { 'token': user.passwordResetToken}) %}
{% set url = '#' %}
{# Uncomment if you have monofony/front-pack installed #}
{#{% set url = url('app_frontend_password_reset', { 'token': user.passwordResetToken}) %}#}
{% autoescape %}
<h3>Hello {{ user.username }}</h3>

Expand Down

0 comments on commit 975fde7

Please sign in to comment.