Loading index.pl +3 −0 Original line number Diff line number Diff line Loading @@ -677,6 +677,9 @@ helper 'get_user_token' => sub { return; }; # This helper should only be called directly when also providing a user ID. # If you don't have one, use current_user() instead (get_user_data will # delegate to it anyways). helper 'get_user_data' => sub { my ( $self, $uid ) = @_; Loading templates/account.html.ep +1 −1 Original line number Diff line number Diff line <h1>Account</h1> % my $acc = get_user_data(); % my $acc = current_user(); <div class="row"> <div class="col s12"> <table class="striped"> Loading templates/layouts/default.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ <div class="container"> % if (is_user_authenticated()) { % my $acc = get_user_data(); % my $acc = current_user(); % if ($acc and $acc->{deletion_requested}) { %= include '_deletion_note', timestamp => $acc->{deletion_requested} % } Loading Loading
index.pl +3 −0 Original line number Diff line number Diff line Loading @@ -677,6 +677,9 @@ helper 'get_user_token' => sub { return; }; # This helper should only be called directly when also providing a user ID. # If you don't have one, use current_user() instead (get_user_data will # delegate to it anyways). helper 'get_user_data' => sub { my ( $self, $uid ) = @_; Loading
templates/account.html.ep +1 −1 Original line number Diff line number Diff line <h1>Account</h1> % my $acc = get_user_data(); % my $acc = current_user(); <div class="row"> <div class="col s12"> <table class="striped"> Loading
templates/layouts/default.html.ep +1 −1 Original line number Diff line number Diff line Loading @@ -34,7 +34,7 @@ <div class="container"> % if (is_user_authenticated()) { % my $acc = get_user_data(); % my $acc = current_user(); % if ($acc and $acc->{deletion_requested}) { %= include '_deletion_note', timestamp => $acc->{deletion_requested} % } Loading