Commit 7c132143 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Only show a URL's sensitive data if a user is logged in AND registered.

parent 60f806c8
{% load go_extras %}
<div class="link-box">
<strong>Long:</strong> <a href="{{}}">{{}}</a>
......@@ -6,7 +8,7 @@
<strong>Short:</strong> <a href="/{{url.short}}">{{url.short}}</a>
<br />
{% if url.owner = request.user %}
{% if url.owner = request.user and request.user|is_registered %}
<strong>Clicks:</strong> {{url.clicks}}
<br />
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment