feat(webui): add accounts username and isAdmin flag edition for admins
Closes #43
This commit is contained in:
parent
4f68621bad
commit
373f567773
6 changed files with 111 additions and 50 deletions
|
@ -51,7 +51,7 @@ func handleAccountsPOST(db *database.DB) http.Handler {
|
|||
return
|
||||
}
|
||||
accountUsername := r.FormValue("username")
|
||||
isAdmin := r.FormValue("isAdmin")
|
||||
isAdmin := r.FormValue("is-admin")
|
||||
page := AccountsPage{
|
||||
Page: makePage(r, &Page{Title: "New Account", Section: "accounts"}),
|
||||
Accounts: accounts,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue