From e6be1b347100d9f66c93433eb21a3299f05581fe Mon Sep 17 00:00:00 2001 From: flashwave Date: Fri, 28 Sep 2018 09:58:26 +0200 Subject: [PATCH] Fixed about editor showing when the user lacks the proper permissions. --- templates/user/profile.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/user/profile.twig b/templates/user/profile.twig index 5005a469..84f914ca 100644 --- a/templates/user/profile.twig +++ b/templates/user/profile.twig @@ -152,7 +152,7 @@
- {% if is_editing or profile.user_about_content|length > 0 %} + {% if (is_editing and perms.edit_about) or profile.user_about_content|length > 0 %}
About {{ profile.username }}