mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-05-23 05:18:40 -05:00
Merge pull request #2745 from owncloud/insecure-options
make all insecure options configurable and change the default to false
This commit is contained in:
@@ -208,9 +208,9 @@ func ServerWithConfig(cfg *config.Config) []cli.Flag {
|
||||
},
|
||||
&cli.BoolFlag{
|
||||
Name: "oidc-insecure",
|
||||
Value: flags.OverrideDefaultBool(cfg.OIDC.Insecure, true),
|
||||
Value: flags.OverrideDefaultBool(cfg.OIDC.Insecure, false),
|
||||
Usage: "OIDC allow insecure communication",
|
||||
EnvVars: []string{"PROXY_OIDC_INSECURE"},
|
||||
EnvVars: []string{"PROXY_OIDC_INSECURE", "OCIS_INSECURE"},
|
||||
Destination: &cfg.OIDC.Insecure,
|
||||
},
|
||||
&cli.IntFlag{
|
||||
|
||||
Reference in New Issue
Block a user