* 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 коммит произвёл Thomas Müller
Родитель 9c328de4ab
Коммит d36a1fed3e
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

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