wireguard-ui/model/user.go
2023-01-04 12:55:00 +02:00

9 lines
213 B
Go

package model
// User model
type User struct {
Username string `json:"username"`
Password string `json:"password"`
// PasswordHash takes precedence over Password.
PasswordHash string `json:"password_hash"`
}