diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-03-18 18:47:52 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-03-18 18:49:00 +0100 |
commit | 07b3ea19a6ee820da9bf3b9ee5f9504e05f54356 (patch) | |
tree | 52137a8f964c1c8bdab0cba05183ca890370444c /index.pl | |
parent | 842fcbcea9e8642fa4a954c079b3f5d8f073f565 (diff) |
never call get_user_data directly
Diffstat (limited to 'index.pl')
-rwxr-xr-x | index.pl | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 ) = @_; |