mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(fastapi): fix account page title
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
a3a5ec678c
commit
9fd07c36eb
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue