mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-07-27 20:00:51 +03:00
Merge branch 'master' into show-apply-config-when-needed
This commit is contained in:
commit
a7f1304429
16 changed files with 720 additions and 98 deletions
|
@ -10,6 +10,7 @@ type Interface struct {
|
|||
type BaseData struct {
|
||||
Active string
|
||||
CurrentUser string
|
||||
Admin bool
|
||||
}
|
||||
|
||||
// ClientServerHashes struct, to save hashes to detect changes
|
||||
|
|
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue