fix(fastapi): fix account page title

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-10-28 12:12:13 -07:00
parent a3a5ec678c
commit 9fd07c36eb
No known key found for this signature in database
GPG key ID: F7E46DED420788F3

View file

@ -612,7 +612,8 @@ account_template = (
status_code=HTTPStatus.UNAUTHORIZED)
async def account(request: Request, username: str):
_ = l10n.get_translator_for_request(request)
context = await make_variable_context(request, _("Account") + username)
context = await make_variable_context(request,
_("Account") + " " + username)
user = db.query(models.User, models.User.Username == username).first()
if not user: