From: Christoph Wurst Date: Thu, 16 Jun 2016 09:32:28 +0000 (+0200) Subject: load authentication apps first (#25126) X-Git-Tag: v9.1.0RC1~76 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d36a1fed3e01bee25e9ed73fcf9a5ec881785ec6;p=nextcloud-server.git load authentication apps first (#25126) * load authentication apps first * load session apps before all other apps --- diff --git a/ocs/v1.php b/ocs/v1.php index 9a09efc1de9..bbc2adf39b6 100644 --- a/ocs/v1.php +++ b/ocs/v1.php @@ -43,6 +43,8 @@ use Symfony\Component\Routing\Exception\ResourceNotFoundException; use Symfony\Component\Routing\Exception\MethodNotAllowedException; try { + OC_App::loadApps(['session']); + OC_App::loadApps(['authentication']); // load all apps to get all api routes properly setup OC_App::loadApps();