From d74d9d241f26d273f5db188776abc1c514e010ed Mon Sep 17 00:00:00 2001 From: akgnah Date: Mon, 7 Aug 2023 23:25:15 +0800 Subject: [PATCH] add local-auth to conf file (#141) Signed-off-by: hangka <1024@setq.me> --- config/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/config/config.go b/config/config.go index fa3f831..0ab52b7 100644 --- a/config/config.go +++ b/config/config.go @@ -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 {