summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-12 22:09:16 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-12 22:09:16 +0100
commit532fadabb45cdf7e70f877eaf2de4d476c7dc1d2 (patch)
tree2ef0f918db7922035e79dc3d46c2974a981a2fc3 /templates
parent6ac88f40187864d4dd247c76de576dcbb4f15653 (diff)
fix failraptor.png for guests. derp.
Diffstat (limited to 'templates')
-rw-r--r--templates/layouts/default.html.ep8
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 028f293..90af0a4 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -32,9 +32,11 @@
</nav>
<div class="container">
- % my $acc = get_user_data();
- % if ($acc and $acc->{deletion_requested}) {
- %= include '_deletion_note', timestamp => $acc->{deletion_requested}
+ % if (is_user_authenticated()) {
+ % my $acc = get_user_data();
+ % if ($acc and $acc->{deletion_requested}) {
+ %= include '_deletion_note', timestamp => $acc->{deletion_requested}
+ % }
% }
%= content
</div>