load authentication apps first (#25126)

* load authentication apps first

* load session apps before all other apps
This commit is contained in:
Christoph Wurst 2016-06-16 11:32:28 +02:00 committed by Thomas Müller
parent 9c328de4ab
commit d36a1fed3e
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ use Symfony\Component\Routing\Exception\ResourceNotFoundException;
use Symfony\Component\Routing\Exception\MethodNotAllowedException; use Symfony\Component\Routing\Exception\MethodNotAllowedException;
try { try {
OC_App::loadApps(['session']);
OC_App::loadApps(['authentication']);
// load all apps to get all api routes properly setup // load all apps to get all api routes properly setup
OC_App::loadApps(); OC_App::loadApps();