chore(tfstated): change database account id format to uuidv7
This commit is contained in:
parent
98c7d6f578
commit
ab548d249b
8 changed files with 27 additions and 20 deletions
|
@ -3,7 +3,8 @@
|
|||
<form action="/login" method="post">
|
||||
<fieldset>
|
||||
<div class="field border label{{ if .Forbidden }} invalid{{ end}}">
|
||||
<input id="username"
|
||||
<input autofocus
|
||||
id="username"
|
||||
name="username"
|
||||
type="text"
|
||||
value="{{ .Username }}"
|
||||
|
|
|
@ -15,7 +15,7 @@ func handleStateGET(db *database.DB) http.Handler {
|
|||
type StatesData struct {
|
||||
Page *Page
|
||||
State *model.State
|
||||
Usernames map[int]string
|
||||
Usernames map[string]string
|
||||
Versions []model.Version
|
||||
}
|
||||
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue