chore(tfstated): change database account id format to uuidv7

This commit is contained in:
Julien Dessaux 2025-01-31 20:53:29 +01:00
parent 98c7d6f578
commit ab548d249b
Signed by: adyxax
GPG key ID: F92E51B86E07177E
8 changed files with 27 additions and 20 deletions

View file

@ -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 }}"

View file

@ -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) {