diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-12 22:09:16 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-12 22:09:16 +0100 |
commit | 532fadabb45cdf7e70f877eaf2de4d476c7dc1d2 (patch) | |
tree | 2ef0f918db7922035e79dc3d46c2974a981a2fc3 /templates/layouts | |
parent | 6ac88f40187864d4dd247c76de576dcbb4f15653 (diff) |
fix failraptor.png for guests. derp.
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/default.html.ep | 8 |
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> |