diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2018-10-28 14:57:28 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2018-10-28 14:57:28 +0100 |
commit | b32ec5bc4366951928ac06e3594e71385eb0f5ee (patch) | |
tree | 535e5f0e9259fa82d55ef5a948186cab968f1cc3 /src/web | |
parent | Added a listbox to select the categories. (diff) | |
download | newspipe-b32ec5bc4366951928ac06e3594e71385eb0f5ee.tar.gz newspipe-b32ec5bc4366951928ac06e3594e71385eb0f5ee.tar.bz2 newspipe-b32ec5bc4366951928ac06e3594e71385eb0f5ee.zip |
Fixed a bug: this view is accessible without authentication
Diffstat (limited to 'src/web')
-rw-r--r-- | src/web/views/user.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/user.py b/src/web/views/user.py index 693f24b7..ac59b2c1 100644 --- a/src/web/views/user.py +++ b/src/web/views/user.py @@ -51,7 +51,7 @@ def user_stream(per_page, nickname=None): """ filters = {} category_id = int(request.args.get('category_id', 0)) - category = CategoryController(current_user.id).read(id=category_id).first() + category = CategoryController().read(id=category_id).first() if category: filters['category_id'] = category_id |