X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2FAppKernel.php;h=2475fe162fd419224b416c99f7cb9331d80dea3d;hb=b3cc1a14e7b9939fdaf7e71fac40ed7c42727854;hp=953614c0f53bb09158506b1252bb14489825cc98;hpb=a15692b1b736a6a1d3c50a5daffe08c16e6cc93b;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/AppKernel.php b/app/AppKernel.php index 953614c0..2475fe16 100644 --- a/app/AppKernel.php +++ b/app/AppKernel.php @@ -2,7 +2,6 @@ use Symfony\Component\HttpKernel\Kernel; use Symfony\Component\Config\Loader\LoaderInterface; -use Wallabag\ApiBundle\WallabagApiBundle; class AppKernel extends Kernel { @@ -18,6 +17,7 @@ class AppKernel extends Kernel new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), new Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), new FOS\RestBundle\FOSRestBundle(), + new FOS\UserBundle\FOSUserBundle(), new JMS\SerializerBundle\JMSSerializerBundle(), new Nelmio\ApiDocBundle\NelmioApiDocBundle(), new Nelmio\CorsBundle\NelmioCorsBundle(), @@ -26,6 +26,9 @@ class AppKernel extends Kernel new Wallabag\ApiBundle\WallabagApiBundle(), new Bazinga\Bundle\HateoasBundle\BazingaHateoasBundle(), new Lexik\Bundle\FormFilterBundle\LexikFormFilterBundle(), + new FOS\OAuthServerBundle\FOSOAuthServerBundle(), + new Wallabag\UserBundle\WallabagUserBundle(), + new Scheb\TwoFactorBundle\SchebTwoFactorBundle(), ); if (in_array($this->getEnvironment(), array('dev', 'test'))) {