Merge pull request #25137 from owncloud/stable9-backport-25126

[stable9] load authentication apps first
This commit is contained in:
Vincent Petry 2016-06-16 17:02:52 +02:00 committed by GitHub
commit f429be1e1d
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;
try {
OC_App::loadApps(['session']);
OC_App::loadApps(['authentication']);
// load all apps to get all api routes properly setup
OC_App::loadApps();