mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-03-06 13:00:12 -06:00
Merge pull request #627 from butonic/add-basic-auth-option
add enable basic auth option and check permissions
This commit is contained in:
@@ -263,6 +263,8 @@ func loadMiddlewares(ctx context.Context, l log.Logger, cfg *config.Config) alic
|
||||
middleware.AccountsClient(accounts),
|
||||
middleware.SettingsRoleService(roles),
|
||||
middleware.AutoprovisionAccounts(cfg.AutoprovisionAccounts),
|
||||
middleware.EnableBasicAuth(cfg.EnableBasicAuth),
|
||||
middleware.OIDCIss(cfg.OIDC.Issuer),
|
||||
)
|
||||
|
||||
// the connection will be established in a non blocking fashion
|
||||
|
||||
Reference in New Issue
Block a user