From a5051be896a5907f7bd077531da8e65efadd5f4d Mon Sep 17 00:00:00 2001 From: Nick Sergeant Date: Thu, 31 Mar 2016 10:42:20 -0400 Subject: [PATCH] Require auth for reporting spam. --- 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 9af854b..d88485d 100644 --- a/snipts/templates/snipts/snipt-list.html +++ b/snipts/templates/snipts/snipt-list.html @@ -204,7 +204,7 @@ / API {% endif %} - {% if snipt.user != request.user %} + {% if request.user.is_authenticated and snipt.user != request.user %} {% if request.user.is_superuser %}
  • Delete User