Skip to content

Commit

Permalink
added CSRF token to reset password form
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpapst committed Sep 30, 2024
1 parent 72b36e5 commit 89edee9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/security/password-reset.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
{% from '@Tabler/components/buttons.html.twig' import submit_button %}
{{ submit_button('mail', {class: 'w-100', title: 'Reset your password', translation_domain: 'TablerBundle'}, 'primary') }}
</div>
<input type="hidden" name="_csrf_token" value="{{ csrf_token('password_reset') }}"/>
</form>
{% endblock %}

Expand Down

0 comments on commit 89edee9

Please sign in to comment.