style: run linter

This commit is contained in:
Dustin Steiner 2023-01-27 15:47:22 +00:00
parent 3d29524e29
commit 54aea0654a
No known key found for this signature in database
GPG key ID: 918D51522D8CB8F2

View file

@ -96,6 +96,7 @@ class UserAdmin(View):
data = {"user": user, "group_form": form} data = {"user": user, "group_form": form}
return TemplateResponse(request, "settings/users/user.html", data) return TemplateResponse(request, "settings/users/user.html", data)
@method_decorator(login_required, name="dispatch") @method_decorator(login_required, name="dispatch")
@method_decorator( @method_decorator(
permission_required("bookwyrm.moderate_user", raise_exception=True), permission_required("bookwyrm.moderate_user", raise_exception=True),