mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-15 01:48:43 +01:00
Move User event listeners to Core
This commit is contained in:
parent
d8f2d3c7ee
commit
615adc81ff
@ -328,7 +328,7 @@ services:
|
||||
confirmation: '%fos_user.registration.confirmation.from_email%'
|
||||
resetting: '%fos_user.resetting.email.from_email%'
|
||||
|
||||
Wallabag\UserBundle\EventListener\CreateConfigListener:
|
||||
Wallabag\CoreBundle\Event\Listener\CreateConfigListener:
|
||||
arguments:
|
||||
$itemsOnPage: "%wallabag_core.items_on_page%"
|
||||
$feedLimit: "%wallabag_core.feed_limit%"
|
||||
@ -338,7 +338,7 @@ services:
|
||||
$listMode: "%wallabag_core.list_mode%"
|
||||
$displayThumbnails: "%wallabag_core.display_thumbnails%"
|
||||
|
||||
Wallabag\UserBundle\EventListener\AuthenticationFailureListener:
|
||||
Wallabag\CoreBundle\Event\Listener\AuthenticationFailureListener:
|
||||
tags:
|
||||
- { name: kernel.event_listener, event: security.authentication.failure, method: onAuthenticationFailure }
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Wallabag\UserBundle\EventListener;
|
||||
namespace Wallabag\CoreBundle\Event\Listener;
|
||||
|
||||
use Psr\Log\LoggerInterface;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Wallabag\UserBundle\EventListener;
|
||||
namespace Wallabag\CoreBundle\Event\Listener;
|
||||
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use FOS\UserBundle\Event\UserEvent;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Wallabag\UserBundle\EventListener;
|
||||
namespace Wallabag\CoreBundle\Event\Listener;
|
||||
|
||||
use FOS\UserBundle\Event\FormEvent;
|
||||
use FOS\UserBundle\FOSUserEvents;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Wallabag\UserBundle\EventListener;
|
||||
namespace Wallabag\CoreBundle\Event\Listener;
|
||||
|
||||
use FOS\UserBundle\Event\GetResponseUserEvent;
|
||||
use FOS\UserBundle\FOSUserEvents;
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Wallabag\UserBundle\EventListener;
|
||||
namespace Tests\Wallabag\CoreBundle\Event\Listener;
|
||||
|
||||
use Monolog\Handler\TestHandler;
|
||||
use Monolog\Logger;
|
||||
@ -12,7 +12,7 @@ use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
|
||||
use Symfony\Component\Security\Core\AuthenticationEvents;
|
||||
use Symfony\Component\Security\Core\Event\AuthenticationFailureEvent;
|
||||
use Symfony\Component\Security\Core\Exception\AuthenticationException;
|
||||
use Wallabag\UserBundle\EventListener\AuthenticationFailureListener;
|
||||
use Wallabag\CoreBundle\Event\Listener\AuthenticationFailureListener;
|
||||
|
||||
class AuthenticationFailureListenerTest extends TestCase
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Wallabag\UserBundle\EventListener;
|
||||
namespace Tests\Wallabag\CoreBundle\Event\Listener;
|
||||
|
||||
use Doctrine\ORM\EntityManager;
|
||||
use FOS\UserBundle\Event\FilterUserResponseEvent;
|
||||
@ -13,7 +13,7 @@ use Symfony\Component\HttpFoundation\Session\Session;
|
||||
use Symfony\Component\HttpFoundation\Session\Storage\MockArraySessionStorage;
|
||||
use Wallabag\CoreBundle\Entity\Config;
|
||||
use Wallabag\CoreBundle\Entity\User;
|
||||
use Wallabag\UserBundle\EventListener\CreateConfigListener;
|
||||
use Wallabag\CoreBundle\Event\Listener\CreateConfigListener;
|
||||
|
||||
class CreateConfigListenerTest extends TestCase
|
||||
{
|
Loading…
Reference in New Issue
Block a user