diff options
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/routes.php b/core/routes.php index 829fa8576c8..0e6efae59b5 100644 --- a/core/routes.php +++ b/core/routes.php @@ -34,7 +34,8 @@ use OC\Core\Application; -$application = new Application(); +/** @var Application $application */ +$application = \OC::$server->query(Application::class); $application->registerRoutes($this, [ 'routes' => [ ['name' => 'lost#email', 'url' => '/lostpassword/email', 'verb' => 'POST'], |