root: fix config load order to include /etc/authentik/config.yml (#4669)
This commit is contained in:
parent
cf36da2e5d
commit
d4dce5b250
|
@ -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
|
||||
|
|
Reference in New Issue