mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-04-15 21:07:38 -04:00
use secure config defaults for OCM
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
4
changelog/unreleased/secure-ocm-by-default.md
Normal file
4
changelog/unreleased/secure-ocm-by-default.md
Normal file
@@ -0,0 +1,4 @@
|
||||
Bugfix: use secure config defaults for OCM
|
||||
|
||||
https://github.com/owncloud/ocis/pull/10307
|
||||
|
||||
@@ -109,7 +109,8 @@ func DefaultConfig() *config.Config {
|
||||
OCMProviderAuthorizerDriver: "json",
|
||||
OCMProviderAuthorizerDrivers: config.OCMProviderAuthorizerDrivers{
|
||||
JSON: config.OCMProviderAuthorizerJSONDriver{
|
||||
Providers: filepath.Join(defaults.BaseConfigPath(), "ocmproviders.json"),
|
||||
Providers: filepath.Join(defaults.BaseConfigPath(), "ocmproviders.json"),
|
||||
VerifyRequestHostname: true,
|
||||
},
|
||||
},
|
||||
OCMShareProvider: config.OCMShareProvider{
|
||||
|
||||
Reference in New Issue
Block a user