From 5b7fc3707b5a931ecd39afc04084d05670c2af33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 1 Mar 2024 11:13:49 +0100 Subject: [PATCH] Hide avatar settings behind feature flag In favor of https://gitea.kosmos.org/kosmos/akkounts/issues/157 --- app/views/settings/_profile.html.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/settings/_profile.html.erb b/app/views/settings/_profile.html.erb index 04d3546..4443e25 100644 --- a/app/views/settings/_profile.html.erb +++ b/app/views/settings/_profile.html.erb @@ -31,6 +31,7 @@ <% end %> <% end %> + <% if Flipper.enabled?(:avatar_upload, current_user) %>