From 54aea0654af7a81162b3cc6631b4011fc23e6e00 Mon Sep 17 00:00:00 2001 From: Dustin Steiner Date: Fri, 27 Jan 2023 15:47:22 +0000 Subject: [PATCH] style: run linter --- bookwyrm/views/admin/user_admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bookwyrm/views/admin/user_admin.py b/bookwyrm/views/admin/user_admin.py index bc04e833f..77177e6f1 100644 --- a/bookwyrm/views/admin/user_admin.py +++ b/bookwyrm/views/admin/user_admin.py @@ -96,6 +96,7 @@ class UserAdmin(View): data = {"user": user, "group_form": form} return TemplateResponse(request, "settings/users/user.html", data) + @method_decorator(login_required, name="dispatch") @method_decorator( permission_required("bookwyrm.moderate_user", raise_exception=True),