mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-04 19:29:49 -06:00
fix basic auth configuration
This commit is contained in:
6
changelog/unreleased/fix-basic-auth-config.md
Normal file
6
changelog/unreleased/fix-basic-auth-config.md
Normal file
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fix basic auth config
|
||||
|
||||
Users could authenticate using basic auth even though `PROXY_ENABLE_BASIC_AUTH` was set to false.
|
||||
|
||||
https://github.com/owncloud/ocis/pull/2719
|
||||
https://github.com/owncloud/ocis/issues/2466
|
||||
@@ -162,6 +162,7 @@ func frontendConfigFromStruct(c *cli.Context, cfg *config.Config, filesCfg map[s
|
||||
},
|
||||
"auth": map[string]interface{}{
|
||||
"credentials_by_user_agent": cfg.Reva.Frontend.Middleware.Auth.CredentialsByUserAgent,
|
||||
"credential_chain": []string{"bearer"},
|
||||
},
|
||||
},
|
||||
// TODO build services dynamically
|
||||
|
||||
Reference in New Issue
Block a user