mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-03-06 08:17:42 -05:00
Merge pull request #10307 from owncloud/secure-ocm-by-default
use secure config defaults for OCM
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