mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2026-10-18 05:41:34 +02:00
Add support for password hashes as an optional alternative to plaintext passwords (#216)
This commit is contained in:
@@ -4,4 +4,6 @@ package model
|
||||
type User struct {
|
||||
Username string `json:"username"`
|
||||
Password string `json:"password"`
|
||||
// PasswordHash takes precedence over Password.
|
||||
PasswordHash string `json:"password_hash"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user