Skip to content

Commit

Permalink
add local-auth to conf file (#141)
Browse files Browse the repository at this point in the history
Signed-off-by: hangka <1024@setq.me>
  • Loading branch information
akgnah authored Aug 7, 2023
1 parent 173c9db commit d74d9d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ func Parse(c *cli.Context) *Config {
getConfigOpt(yamlCfg, "ssl-cacert", &cfg.SslCacert)
getConfigOpt(yamlCfg, "token", &cfg.Token)
getConfigOpt(yamlCfg, "db", &cfg.DB)
getConfigOpt(yamlCfg, "local-auth", &cfg.LocalAuth)

val, err := yamlCfg.Get("white-list")
if err == nil {
Expand Down

0 comments on commit d74d9d2

Please sign in to comment.