]> source.dussan.org Git - nextcloud-server.git/commitdiff
load authentication apps first (#25126)
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>
Thu, 16 Jun 2016 09:32:28 +0000 (11:32 +0200)
committerThomas Müller <DeepDiver1975@users.noreply.github.com>
Thu, 16 Jun 2016 09:32:28 +0000 (11:32 +0200)
* load authentication apps first

* load session apps before all other apps

ocs/v1.php

index 9a09efc1de972f34c97f96f8bdd9a766e46085eb..bbc2adf39b6ce023b3d104e5ce121109cea5aa22 100644 (file)
@@ -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();