8000 merged branch sli-systems/master (PR #5380) · bobihu/symfony@c4fa0b1 · GitHub
[go: up one dir, main page]

Skip to content

Commit c4fa0b1

Browse files
committed
merged branch sli-systems/master (PR symfony#5380)
Commits ------- cf4189b Move remember me ResponseListener from security bundle into security component Discussion ---------- Move remember me response listener from security bundle into security component ...ponent This move allows to implement the remember me feature in Silex without having to reference the security bundle. This is the pull request for issue symfony#5264
2 parents ecab04c + cf4189b commit c4fa0b1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Symfony/Bundle/SecurityBundle/Resources/config/security_rememberme.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<parameter key="security.authentication.rememberme.services.persistent.class">Symfony\Component\Security\Http\RememberMe\PersistentTokenBasedRememberMeServices</parameter>
1414
<parameter key="security.authentication.rememberme.services.simplehash.class">Symfony\Component\Security\Http\RememberMe\TokenBasedRememberMeServices</parameter>
1515

16-
<parameter key="security.rememberme.response_listener.class">Symfony\Bundle\SecurityBundle\EventListener\ResponseListener</parameter>
16+
<parameter key="security.rememberme.response_listener.class">Symfony\Component\Security\Http\RememberMe\ResponseListener</parameter>
1717
</parameters>
1818

1919
<services>

src/Symfony/Bundle/SecurityBundle/EventListener/ResponseListener.php renamed to src/Symfony/Component/Security/Http/RememberMe/ResponseListener.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\Bundle\SecurityBundle\EventListener;
12+
namespace Symfony\Component\Security\Http\RememberMe;
1313

1414
use Symfony\Component\HttpFoundation\Response;
1515
use Symfony\Component\HttpKernel\Event\FilterResponseEvent;
16-
use Symfony\Component\Security\Http\RememberMe\RememberMeServicesInterface;
1716

1817
/**
1918
* Adds remember-me cookies to the Response.

0 commit comments

Comments
 (0)
0