summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
Diffstat (limited to 'settings')
-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
*/