feat(webui): add user accounts list, admin middleware and admin restricted menu entries
This commit is contained in:
parent
fb98b4fffe
commit
e23a146490
9 changed files with 143 additions and 2 deletions
|
@ -122,8 +122,8 @@ func (db *DB) LoadStates() ([]model.State, error) {
|
|||
defer rows.Close()
|
||||
states := make([]model.State, 0)
|
||||
for rows.Next() {
|
||||
var state model.State
|
||||
var (
|
||||
state model.State
|
||||
created int64
|
||||
updated int64
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue