diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-12-04 14:09:43 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-12-04 14:09:43 +0300 |
commit | ddec9c32214fd640585bf0330111264474adbd38 (patch) | |
tree | c52fa02e922bd1dabc0414af6fdda40c4edb61b4 | |
parent | 412296d24d5a66f4929af4180b8603c0b53100db (diff) |
Fix middleware registration on stable17
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-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); } |