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:40:43 +0200
commit83128646f190c331f0de6ecd075a5f4e03b9b50f (patch)
treec5be50df6ebf2522faa6f5a735032719ef128610
parent35e2407f1d52a507e1a1cd23a86a1fbee7492a7d (diff)
downloadnextcloud-server-83128646f190c331f0de6ecd075a5f4e03b9b50f.tar.gz
nextcloud-server-83128646f190c331f0de6ecd075a5f4e03b9b50f.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 0aaa5d228da..3e7efece1f8 100644
--- a/ocs/v1.php
+++ b/ocs/v1.php
@@ -42,6 +42,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();