summaryrefslogtreecommitdiff
path: root/templates/account.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-18 18:47:52 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-18 18:49:00 +0100
commit07b3ea19a6ee820da9bf3b9ee5f9504e05f54356 (patch)
tree52137a8f964c1c8bdab0cba05183ca890370444c /templates/account.html.ep
parent842fcbcea9e8642fa4a954c079b3f5d8f073f565 (diff)
never call get_user_data directly
Diffstat (limited to 'templates/account.html.ep')
-rw-r--r--templates/account.html.ep2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/account.html.ep b/templates/account.html.ep
index bbd6850..4917961 100644
--- a/templates/account.html.ep
+++ b/templates/account.html.ep
@@ -1,5 +1,5 @@
<h1>Account</h1>
-% my $acc = get_user_data();
+% my $acc = current_user();
<div class="row">
<div class="col s12">
<table class="striped">