diff --git a/app/templates.py b/app/templates.py index 381df8f..c5c501d 100644 --- a/app/templates.py +++ b/app/templates.py @@ -103,7 +103,7 @@ async def render_template( "debug": DEBUG, "microblogpub_version": VERSION, "is_admin": is_admin, - "csrf_token": generate_csrf_token() if is_admin else None, + "csrf_token": generate_csrf_token(), "highlight_css": HIGHLIGHT_CSS, "visibility_enum": ap.VisibilityEnum, "notifications_count": await db_session.scalar(