Skip to content

Commit bf61b7b

Browse files
committed
Merge branch '3.4' into 4.0
* 3.4: add missing logout_on_user_change options [HttpFoundation] Add immutable to setCache's PHPDoc
2 parents 527f7e4 + 24e274d commit bf61b7b

File tree

9 files changed

+11
-1
lines changed

9 files changed

+11
-1
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

src/Symfony/Component/HttpFoundation/Response.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ public function setEtag(string $etag = null, bool $weak = false)
913913
/**
914914
* Sets the response's cache headers (validation and/or expiration).
915915
*
916-
* Available options are: etag, last_modified, max_age, s_maxage, private, and public.
916+
* Available options are: etag, last_modified, max_age, s_maxage, private, public and immutable.
917917
*
918918
* @return $this
919919
*

0 commit comments

Comments
 (0)