]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add SubAdminMiddleware back 2234/head
authorLukas Reschke <lukas@statuscode.ch>
Tue, 22 Nov 2016 12:33:23 +0000 (13:33 +0100)
committerLukas Reschke <lukas@statuscode.ch>
Tue, 22 Nov 2016 12:33:23 +0000 (13:33 +0100)
Removed by mistake in #1946

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
settings/Application.php

index ca2b2b91f71958eca4540a41e343f301bcc15fff..14110c6ca953cc972d08b77aa59b55136a478b6d 100644 (file)
@@ -69,6 +69,8 @@ class Application extends App {
 
                // Register Middleware
                $container->registerAlias('SubadminMiddleware', SubadminMiddleware::class);
+               $container->registerMiddleWare('SubadminMiddleware');
+
                /**
                 * Controllers
                 */