Skip to content

Commit 24e274d

Browse files
committed
minor symfony#25461 [SecurityBundle] add missing logout_on_user_change options (xabbuh)
This PR was merged into the 3.4 branch. Discussion ---------- [SecurityBundle] add missing logout_on_user_change options | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | | License | MIT | Doc PR | Commits ------- fde1f48 add missing logout_on_user_change options
2 parents 8151661 + fde1f48 commit 24e274d

File tree

8 files changed

+10
-0
lines changed

8 files changed

+10
-0
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/CsrfFormLogin/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ security:
2828
security: false
2929

3030
default:
31+
logout_on_user_change: true
3132
form_login:
3233
check_path: /login_check
3334
default_target_path: /profile

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/FirewallEntryPoint/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ services:
1616
security:
1717
firewalls:
1818
secure:
19+
logout_on_user_change: true
1920
pattern: ^/secure/
2021
http_basic: { realm: "Secure Gateway API" }
2122
entry_point: firewall_entry_point.entry_point.stub
2223
default:
24+
logout_on_user_change: true
2325
anonymous: ~
2426
access_control:
2527
- { path: ^/secure/, roles: ROLE_SECURE }

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/JsonLogin/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ security:
1313

1414
firewalls:
1515
main:
16+
logout_on_user_change: true
1617
pattern: ^/
1718
anonymous: true
1819
json_login:

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/JsonLogin/custom_handlers.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ security:
1313

1414
firewalls:
1515
main:
16+
logout_on_user_change: true
1617
pattern: ^/
1718
anonymous: true
1819
json_login:

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/SecurityHelper/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@ security:
1515

1616
firewalls:
1717
default:
18+
logout_on_user_change: true
1819
anonymous: ~

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/StandardFormLogin/config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ security:
2020
security: false
2121

2222
default:
23+
logout_on_user_change: true
2324
form_login:
2425
check_path: /login_check
2526
default_target_path: /profile
@@ -28,6 +29,7 @@ security:
2829

2930
# This firewall is here just to check its the logout functionality
3031
second_area:
32+
logout_on_user_change: true
3133
http_basic: ~
3234
anonymous: ~
3335
logout:

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/StandardFormLogin/localized_form_failure_handler.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ security:
1313

1414
firewalls:
1515
default:
16+
logout_on_user_change: true
1617
form_login:
1718
login_path: localized_login_path
1819
check_path: localized_check_path

src/Symfony/Bundle/SecurityBundle/Tests/Functional/app/StandardFormLogin/localized_routes.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ security:
1313

1414
firewalls:
1515
default:
16+
logout_on_user_change: true
1617
form_login:
1718
login_path: localized_login_path
1819
check_path: localized_check_path

0 commit comments

Comments
 (0)