Skip to content

Commit 84811b0

Browse files
Merge branch '5.0'
* 5.0: [FrameworkBundle] Fix session.attribute_bag service definition [Routing] Remove unused properties from the Route annotation [Routing] Add missing _locale requirements Update LdapBindAuthenticationProvider.php Add reproducer to for hit after update expire cacheItem [Cache] fix FilesystemTagAwareAdapter failing when a tag link preexists
2 parents 6674482 + 14d7a3f commit 84811b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Resources/config/session.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
<service id="Symfony\Component\HttpFoundation\Session\Flash\FlashBagInterface" alias="session.flash_bag" />
4949

5050
<service id="session.attribute_bag" class="Symfony\Component\HttpFoundation\Session\Attribute\AttributeBag">
51-
<factory service="session" method="getAttributeBag" />
51+
<factory service="session" method="getBag"/>
52+
<argument>attributes</argument>
5253
<deprecated package="symfony/framework-bundle" version="5.1">The "%service_id%" service is deprecated, use "$session->getAttributeBag()" instead.</deprecated>
5354
</service>
5455

0 commit comments

Comments
 (0)