load authentication apps first

This commit is contained in:
Christoph Wurst 2016-06-15 21:37:01 +02:00
parent ffec0f197b
commit 2656f68d60
No known key found for this signature in database
GPG Key ID: FEECD2543CA6EAF0
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();