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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ var cfg *Config
func Get() *Config { func Get() *Config {
if cfg == nil { if cfg == nil {
c := defaultConfig() 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 cfg = c
} }
return cfg return cfg