Skip to content

Commit

Permalink
minor #25461 [SecurityBundle] add missing logout_on_user_change optio…
Browse files Browse the repository at this point in the history
…ns (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
  • Loading branch information
chalasr committed Dec 12, 2017
2 parents 8151661 + fde1f48 commit 24e274d
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 0 deletions.
Expand Up @@ -28,6 +28,7 @@ security:
security: false

default:
logout_on_user_change: true
form_login:
check_path: /login_check
default_target_path: /profile
Expand Down
Expand Up @@ -16,10 +16,12 @@ services:
security:
firewalls:
secure:
logout_on_user_change: true
pattern: ^/secure/
http_basic: { realm: "Secure Gateway API" }
entry_point: firewall_entry_point.entry_point.stub
default:
logout_on_user_change: true
anonymous: ~
access_control:
- { path: ^/secure/, roles: ROLE_SECURE }
Expand Down
Expand Up @@ -13,6 +13,7 @@ security:

firewalls:
main:
logout_on_user_change: true
pattern: ^/
anonymous: true
json_login:
Expand Down
Expand Up @@ -13,6 +13,7 @@ security:

firewalls:
main:
logout_on_user_change: true
pattern: ^/
anonymous: true
json_login:
Expand Down
Expand Up @@ -15,4 +15,5 @@ security:

firewalls:
default:
logout_on_user_change: true
anonymous: ~
Expand Up @@ -20,6 +20,7 @@ security:
security: false

default:
logout_on_user_change: true
form_login:
check_path: /login_check
default_target_path: /profile
Expand All @@ -28,6 +29,7 @@ security:

# This firewall is here just to check its the logout functionality
second_area:
logout_on_user_change: true
http_basic: ~
anonymous: ~
logout:
Expand Down
Expand Up @@ -13,6 +13,7 @@ security:

firewalls:
default:
logout_on_user_change: true
form_login:
login_path: localized_login_path
check_path: localized_check_path
Expand Down
Expand Up @@ -13,6 +13,7 @@ security:

firewalls:
default:
logout_on_user_change: true
form_login:
login_path: localized_login_path
check_path: localized_check_path
Expand Down

0 comments on commit 24e274d

Please sign in to comment.