Skip to content

[SecurityBundle] Remove the require_previous_session config option #51333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions UPGRADE-7.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ SecurityBundle
--------------

* Enabling SecurityBundle and not configuring it is not allowed, either remove the bundle or configure at least one firewall
* Remove the `require_previous_session` config option

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

* Enabling SecurityBundle and not configuring it is not allowed
* Remove configuration options `enable_authenticator_manager` and `csrf_token_generator`
* Remove configuration options `enable_authenticator_manager`, `csrf_token_generator` and `require_previous_session`

6.4
---
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ abstract class AbstractFactory implements AuthenticatorFactoryInterface
protected array $options = [
'check_path' => '/login_check',
'use_forward' => false,
'require_previous_session' => false,
'login_path' => '/login',
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ security:
form_login:
check_path: login
remember_me: true
require_previous_session: false
logout: ~
stateless: false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ security:
form_login:
check_path: login
remember_me: true
require_previous_session: false
logout: ~
stateless: false

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ security:
stateless: true
json_login_ldap:
check_path: /login
require_previous_session: false
service: Symfony\Component\Ldap\Ldap
dn_string: ''
username_path: user.login
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ security:
form_login:
check_path: login
remember_me: true
require_previous_session: false
logout: ~
stateless: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ security:
form_login:
check_path: login
remember_me: true
require_previous_session: false
logout:
delete_cookies:
flavor: { path: null, domain: somedomain }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ security:
form_login:
check_path: login
remember_me: true
require_previous_session: false
logout:
enable_csrf: true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ security:
form_login:
check_path: login
remember_me: true
require_previous_session: false
remember_me:
always_remember_me: true
secret: secret
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ security:
form_login:
check_path: login
remember_me: true
require_previous_session: false
remember_me:
always_remember_me: true
secret: key
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy