From 9c13bf34a8173db07420ff795014719c590b605d Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 20 May 2021 15:11:47 -0700 Subject: [PATCH] Only show banner to authenticated users --- bookwyrm/templates/layout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html index 2f8001dd..bad1cb6e 100644 --- a/bookwyrm/templates/layout.html +++ b/bookwyrm/templates/layout.html @@ -181,7 +181,7 @@ -{% if active_announcements.exists %} +{% if request.user.is_authenticated and active_announcements.exists %}
{% for announcement in active_announcements %}