summaryrefslogtreecommitdiffstats
path: root/settings/Application.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-11-22 13:33:23 +0100
committerLukas Reschke <lukas@statuscode.ch>2016-11-22 13:33:23 +0100
commit54f80ce6d9e7c65e4bf094cfcc26007babb79e9d (patch)
tree16b7f6be1dd42c47f5963a655a5e382c2cdd0c36 /settings/Application.php
parentdf215625f195c266bc7bc38577f50c088f23df92 (diff)
downloadnextcloud-server-54f80ce6d9e7c65e4bf094cfcc26007babb79e9d.tar.gz
nextcloud-server-54f80ce6d9e7c65e4bf094cfcc26007babb79e9d.zip
Add SubAdminMiddleware back
Removed by mistake in #1946 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'settings/Application.php')
-rw-r--r--settings/Application.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/Application.php b/settings/Application.php
index ca2b2b91f71..14110c6ca95 100644
--- a/settings/Application.php
+++ b/settings/Application.php
@@ -69,6 +69,8 @@ class Application extends App {
// Register Middleware
$container->registerAlias('SubadminMiddleware', SubadminMiddleware::class);
+ $container->registerMiddleWare('SubadminMiddleware');
+
/**
* Controllers
*/