load authentication apps first

This commit is contained in:
Christoph Wurst 2016-06-15 21:37:01 +02:00 committed by Lukas Reschke
parent ac56629c86
commit 43065e7369
No known key found for this signature in database
GPG key ID: 9AB0ADB949B6898C

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();