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

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