feat: secrets of clients now need to be hashed, added command to create hash
This commit is contained in:
parent
a77e96be6e
commit
81dcd9c7cc
5 changed files with 58 additions and 9 deletions
|
|
@ -7,9 +7,9 @@ import (
|
|||
)
|
||||
|
||||
type ClientConfig struct {
|
||||
Secret string `mapstructure:"secret"`
|
||||
Exact []string `mapstructure:"exact"`
|
||||
Wildcard []string `mapstructure:"wildcard"`
|
||||
SecretHash string `mapstructure:"secret_hash"`
|
||||
Exact []string `mapstructure:"exact"`
|
||||
Wildcard []string `mapstructure:"wildcard"`
|
||||
}
|
||||
|
||||
type ServerConfig struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue