impl authelia I think

This commit is contained in:
Bel LaPointe
2021-03-21 12:44:21 -05:00
parent 177e0d88da
commit cebb518e05
7 changed files with 125 additions and 16 deletions

View File

@@ -25,6 +25,11 @@ func parseProxy(s string) (string, Proxy) {
return key, p
}
func GetAuthelia() (string, bool) {
authelia := conf.Get("authelia").GetString()
return authelia, authelia != ""
}
func GetBOAuthZ() (string, bool) {
boauthz := conf.Get("oauth").GetString()
return boauthz, boauthz != ""
@@ -99,3 +104,7 @@ func GetNoPath(key string) bool {
_, ok := m[key]
return ok
}
func GetCompression() bool {
return conf.GetBool("compression")
}