8000 Reset the authentication token between requests. · symfony/symfony@e46b366 · GitHub
[go: up one dir, main page]

Skip to content

Commit e46b366

Browse files
committed
Reset the authentication token between requests.
1 parent 2e0cb60 commit e46b366

File tree

1 file changed

+3
-1
lines changed
  • src/Symfony/Bundle/SecurityBundle/Resources/config

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
</service>
2222
<service id="Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface" alias="security.authorization_checker" />
2323

24-
<service id="security.token_storage" class="Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage" public="true" />
24+
<service id="security.token_storage" class="Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorage" public="true">
25+
<tag name="kernel.reset" method="setToken" />
26+
</service>
2527
<service id="Symfony\Component\Security\Core\Authentication\Token\Storage\TokenStorageInterface" alias="security.token_storage" />
2628

2729
<service id="security.user_value_resolver" class="Symfony\Bundle\SecurityBundle\SecurityUserValueResolver">

0 commit comments

Comments
 (0)
0