Fix remote follow
This commit is contained in:
parent
2c23f404d9
commit
e59d17f4f6
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue