mirror of
https://github.com/speatzle/nfsense.git
synced 2025-09-13 15:19:08 +00:00
Improve Session / Auth, APICall
This commit is contained in:
parent
fb70f41fcb
commit
2fe21169bb
11 changed files with 167 additions and 115 deletions
|
@ -14,7 +14,6 @@ type Config struct {
|
|||
|
||||
func ValidateConfig(conf *Config) error {
|
||||
val := validator.New()
|
||||
slog.Info("Registering validator")
|
||||
val.RegisterValidation("test", nilIfOtherNil)
|
||||
return val.Struct(conf)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue