Skip to content

Commit

Permalink
fix: exception was thrown on pages with comments for remembered users
Browse files Browse the repository at this point in the history
  • Loading branch information
williarin committed Feb 14, 2022
1 parent 848f0cb commit 3f0369c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Component/Content/Comments/template.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<div id="post-comment-form">
<h3>{{ 'Post a comment'|trans }}</h3>
{{ form_start(form) }}
{% if not is_granted('IS_AUTHENTICATED_FULLY') %}
{% if not is_granted('IS_AUTHENTICATED_REMEMBERED') %}
{{ form_row(form.guestAuthorName) }}
{{ form_row(form.guestAuthorEmail) }}
{{ form_row(form.guestAuthorUrl) }}
Expand Down

0 comments on commit 3f0369c

Please sign in to comment.