Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commit 95a2cf5

Browse files
committed
Use "your_firewall_name" everywhere in docs
1 parent ceb906c commit 95a2cf5

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

Resources/doc/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ scheb_two_factor:
8888
# config/packages/security.yaml
8989
security:
9090
firewalls:
91-
yourFirewallName:
91+
your_firewall_name:
9292
# ...
9393
two_factor:
9494
auth_form_path: /2fa # Path or route name of the two-factor form

Resources/doc/csrf_protection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ provider available in the security component:
1919
# app/config/security.yml
2020
security:
2121
firewalls:
22-
secured_area:
22+
your_firewall_name:
2323
two_factor:
2424
csrf_token_generator: security.csrf.token_manager
2525
```
@@ -40,7 +40,7 @@ your configuration:
4040
# app/config/security.yml
4141
security:
4242
firewalls:
43-
secured_area:
43+
your_firewall_name:
4444
two_factor:
4545
csrf_parameter: _csrf_security_token
4646
csrf_token_id: a_private_string

Resources/doc/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Enable two-factor authentication **per firewall** and configure `access_control`
5959
# config/packages/security.yaml
6060
security:
6161
firewalls:
62-
main:
62+
your_firewall_name:
6363
two_factor:
6464
auth_form_path: 2fa_login # The route name you have used in the routes.yaml
6565
check_path: 2fa_login_check # The route name you have used in the routes.yaml

Resources/doc/multi_authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ You can set the in the firewall configuration:
1111
# config/packages/security.yaml
1212
security:
1313
firewalls:
14-
yourFirewallName:
14+
your_firewall_name:
1515
two_factor:
1616
multi_factor: false # If ALL active two-factor methods need to be fulfilled
1717
```

Resources/doc/trusted_device.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ To flag a device as "trusted", in the last step of the 2fa process, you have to
5858
```yaml
5959
security:
6060
firewalls:
61-
yourFirewallName:
61+
your_firewall_name:
6262
# ...
6363
two_factor:
6464
trusted_parameter_name: _trusted # Name of the parameter for the trusted device option

0 commit comments

Comments
 (0)