Browse Source

load authentication apps first (#25126)

* load authentication apps first

* load session apps before all other apps
tags/v9.1.0RC1
Christoph Wurst 8 years ago
parent
commit
d36a1fed3e
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      ocs/v1.php

+ 2
- 0
ocs/v1.php 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();


Loading…
Cancel
Save