mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
fix(routers.accounts): use target user's account type for autofill
Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
parent
e17389485b
commit
94e8d34948
3 changed files with 72 additions and 9 deletions
|
@ -170,7 +170,7 @@ def make_account_form_context(context: dict,
|
|||
context = copy.copy(context)
|
||||
|
||||
context["account_types"] = [
|
||||
(at.USER_ID, "Normal User"),
|
||||
(at.USER_ID, f"Normal {at.USER}"),
|
||||
(at.TRUSTED_USER_ID, at.TRUSTED_USER)
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue