Only allow report spam from users

master
Nick Sergeant 2019-03-13 13:56:42 -04:00
parent 19474c44dc
commit a19b0b4052
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@
/ <a href="/api/public/snipt/{{ snipt.id }}/?format=json">API</a>
{% endif %}
</li>
{% if snipt.user != request.user %}
{% if request.user.is_authenticated and snipt.user != request.user %}
<li class="report-spam">
<a target="_blank" href="/report-spam/{{ snipt.id }}/">Report Spam</a>
</li>