root: fix config load order to include /etc/authentik/config.yml (#4669)

This commit is contained in:
[information redacted]
2023-02-13 00:52:13 +02:00
committed by GitHub
parent cf36da2e5d
commit d4dce5b250

View File

@ -18,7 +18,7 @@ var cfg *Config
func Get() *Config {
if cfg == nil {
c := defaultConfig()
c.Setup("./authentik/lib/default.yml", "./local.env.yml")
c.Setup("./authentik/lib/default.yml", "/etc/authentik/config.yml", "./local.env.yml")
cfg = c
}
return cfg