From a19b0b4052e36bf79ec132cc93b2fe9e5d1d3a35 Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Wed, 13 Mar 2019 13:56:42 -0400 Subject: [PATCH] Only allow report spam from users --- snipts/templates/snipts/snipt-list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snipts/templates/snipts/snipt-list.html b/snipts/templates/snipts/snipt-list.html index 4526f34..c6c5843 100644 --- a/snipts/templates/snipts/snipt-list.html +++ b/snipts/templates/snipts/snipt-list.html @@ -206,7 +206,7 @@ / API {% endif %} - {% if snipt.user != request.user %} + {% if request.user.is_authenticated and snipt.user != request.user %}
  • Report Spam