summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-06-15 21:37:01 +0200
committerChristoph Wurst <christoph@owncloud.com>2016-06-16 11:32:13 +0200
commitb2405a0989d53e8c1e59bea918f2255e008f5f94 (patch)
tree402eb322599ea528bbd7d9a146e01b21ee0ba154
parentb62747238f731f0b22cd23adfda3aa817edc974d (diff)
downloadnextcloud-server-b2405a0989d53e8c1e59bea918f2255e008f5f94.tar.gz
nextcloud-server-b2405a0989d53e8c1e59bea918f2255e008f5f94.zip
load authentication apps first
-rw-r--r--ocs/v1.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/ocs/v1.php b/ocs/v1.php
index 2829cf08c57..81cb82cc153 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();