From e59d17f4f6f39e597a11f2174027b30089008adf Mon Sep 17 00:00:00 2001 From: Thomas Sileo Date: Mon, 8 Aug 2022 22:12:24 +0200 Subject: [PATCH] Fix remote follow --- app/templates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(