mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Add SubAdminMiddleware back
Removed by mistake in #1946 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
df215625f1
commit
54f80ce6d9
1 changed files with 2 additions and 0 deletions
|
|
@ -69,6 +69,8 @@ class Application extends App {
|
|||
|
||||
// Register Middleware
|
||||
$container->registerAlias('SubadminMiddleware', SubadminMiddleware::class);
|
||||
$container->registerMiddleWare('SubadminMiddleware');
|
||||
|
||||
/**
|
||||
* Controllers
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue