Skip to content

Commit

Permalink
load authentication apps first
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristophWurst authored and LukasReschke committed Jun 20, 2016
1 parent ac56629 commit 43065e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ocs/v1.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@
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();

Expand Down

0 comments on commit 43065e7

Please sign in to comment.