From 3f0369c8ebe3a4645edaaa791550abef92848eac Mon Sep 17 00:00:00 2001 From: William Arin Date: Tue, 15 Feb 2022 00:34:04 +0800 Subject: [PATCH] fix: exception was thrown on pages with comments for remembered users --- src/Component/Content/Comments/template.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Component/Content/Comments/template.html.twig b/src/Component/Content/Comments/template.html.twig index e3b99e8..fd793a4 100644 --- a/src/Component/Content/Comments/template.html.twig +++ b/src/Component/Content/Comments/template.html.twig @@ -28,7 +28,7 @@

{{ 'Post a comment'|trans }}

{{ 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) }}