KunstmaanBundlesCMS
KunstmaanBundlesCMS copied to clipboard
security.token_storage is now private
We have upgraded our site, currently on 7.1.x-dev, but ran into a problem in the AbstractEntityArticle AdminListController in the ArticleBundle, where security.token_storage
is no longer in the container.
The service was made private in v6 of Symfony https://github.com/symfony/symfony/blob/6.4/UPGRADE-6.0.md?plain=1#L459
I have since tried on a fresh Kuma install using 7.1 of both the cms-skeleton and the bundles.
When I access /nl/admin
for the first time, I get the following error:
I tried to make the token storage public, both via yaml and via compiler pass, but neither successfully worked for me. I'm guessing anywhere that references it will need to use dependency injection instead?