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),