Merge branch 'master' into show-apply-config-when-needed

This commit is contained in:
Khanh Ngo 2023-03-15 21:15:34 +01:00 committed by GitHub
commit a7f1304429
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 720 additions and 98 deletions

View file

@ -10,6 +10,7 @@ type Interface struct {
type BaseData struct {
Active string
CurrentUser string
Admin bool
}
// ClientServerHashes struct, to save hashes to detect changes

View file

@ -6,4 +6,5 @@ type User struct {
Password string `json:"password"`
// PasswordHash takes precedence over Password.
PasswordHash string `json:"password_hash"`
Admin bool `json:"admin"`
}