Fix remote follow

main
Thomas Sileo 2022-08-08 22:12:24 +02:00
parent 2c23f404d9
commit e59d17f4f6
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ async def render_template(
"debug": DEBUG, "debug": DEBUG,
"microblogpub_version": VERSION, "microblogpub_version": VERSION,
"is_admin": is_admin, "is_admin": is_admin,
"csrf_token": generate_csrf_token() if is_admin else None, "csrf_token": generate_csrf_token(),
"highlight_css": HIGHLIGHT_CSS, "highlight_css": HIGHLIGHT_CSS,
"visibility_enum": ap.VisibilityEnum, "visibility_enum": ap.VisibilityEnum,
"notifications_count": await db_session.scalar( "notifications_count": await db_session.scalar(