Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2019-12-04 14:57:54 +0300
committerGitHub <noreply@github.com>2019-12-04 14:57:54 +0300
commit0f8c3afb08065f8d31cf6bfb829d264dd27eb824 (patch)
tree6499dd8892ada48a682c9c94ea4bb30f7b672624
parentca61a1cc0065094d1a26861045036ae96a530e1d (diff)
parentddec9c32214fd640585bf0330111264474adbd38 (diff)
Merge pull request #2315 from nextcloud/fix/middleware-registration-stable17v0.20.0
Fix middleware registration on stable17
-rw-r--r--lib/AppInfo/BootstrapSingleton.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/AppInfo/BootstrapSingleton.php b/lib/AppInfo/BootstrapSingleton.php
index 114d0f897..081fec202 100644
--- a/lib/AppInfo/BootstrapSingleton.php
+++ b/lib/AppInfo/BootstrapSingleton.php
@@ -111,7 +111,8 @@ class BootstrapSingleton {
$container->registerAlias('ErrorMiddleware', ErrorMiddleware::class);
$container->registerMiddleWare('ErrorMiddleware');
- $container->registerMiddleWare(ProvisioningMiddleware::class);
+ $container->registerAlias('ProvisioningMiddleware', ProvisioningMiddleware::class);
+ $container->registerMiddleWare('ProvisioningMiddleware');
$container->registerAlias(IGroupService::class, NextcloudGroupService::class);
}