diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2019-12-04 14:57:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-04 14:57:54 +0300 |
commit | 0f8c3afb08065f8d31cf6bfb829d264dd27eb824 (patch) | |
tree | 6499dd8892ada48a682c9c94ea4bb30f7b672624 | |
parent | ca61a1cc0065094d1a26861045036ae96a530e1d (diff) | |
parent | ddec9c32214fd640585bf0330111264474adbd38 (diff) |
Merge pull request #2315 from nextcloud/fix/middleware-registration-stable17v0.20.0
Fix middleware registration on stable17
-rw-r--r-- | lib/AppInfo/BootstrapSingleton.php | 3 |
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); } |