feat: secrets of clients now need to be hashed, added command to create hash
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user