This commit is contained in:
Piotr Orwat 2025-01-08 11:33:26 +01:00 committed by GitHub
commit 66a8acbc36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -66,8 +66,12 @@ func main() {
utils.ApplyFlags(cliFlags, flagMappings, c, appOptions, backendOptions)
appOptions.EnableBasicAuth = c.IsSet("credential")
appOptions.EnableTLSClientAuth = c.IsSet("tls-ca-crt")
if c.IsSet("credential") {
appOptions.EnableBasicAuth = true
}
if c.IsSet("tls-ca-crt") {
appOptions.EnableTLSClientAuth = true
}
err = appOptions.Validate()
if err != nil {