Skip to content

Commit

Permalink
[SecurityBundle] Add missing removed config options to upgrade guide
Browse files Browse the repository at this point in the history
  • Loading branch information
W0rma committed Jan 12, 2024
1 parent e597a35 commit 8c63772
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions UPGRADE-7.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,8 @@ SecurityBundle
--------------

* Enabling SecurityBundle and not configuring it is not allowed, either remove the bundle or configure at least one firewall
* Remove the `enable_authenticator_manager` config option
* Remove the `security.firewalls.logout.csrf_token_generator` config option, use `security.firewalls.logout.csrf_token_manager` instead
* Remove the `require_previous_session` config option from authenticators

Serializer
Expand Down
4 changes: 3 additions & 1 deletion src/Symfony/Bundle/SecurityBundle/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ CHANGELOG
---

* Enabling SecurityBundle and not configuring it is not allowed
* Remove configuration options `enable_authenticator_manager`, `csrf_token_generator` and `require_previous_session`
* Remove the `enable_authenticator_manager` config option
* Remove the `security.firewalls.logout.csrf_token_generator` config option, use `security.firewalls.logout.csrf_token_manager` instead
* Remove the `require_previous_session` config option from authenticators

6.4
---
Expand Down

0 comments on commit 8c63772

Please sign in to comment.