summaryrefslogtreecommitdiffstats
path: root/ocs
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2016-06-16 11:32:28 +0200
committerThomas Müller <DeepDiver1975@users.noreply.github.com>2016-06-16 11:32:28 +0200
commitd36a1fed3e01bee25e9ed73fcf9a5ec881785ec6 (patch)
tree3bd13417c8863c6a6e74e09570df8cb7f4e0983a /ocs
parent9c328de4abaa61a19be2ffb9ff80f52cb2dcb6c3 (diff)
downloadnextcloud-server-d36a1fed3e01bee25e9ed73fcf9a5ec881785ec6.tar.gz
nextcloud-server-d36a1fed3e01bee25e9ed73fcf9a5ec881785ec6.zip
load authentication apps first (#25126)
* load authentication apps first * load session apps before all other apps
Diffstat (limited to 'ocs')
-rw-r--r--ocs/v1.php2
1 files changed, 2 insertions, 0 deletions
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();