@@ -346,7 +346,7 @@ and ``/_wdt``.
346
346
347
347
All *real * URLs are handled by the ``main `` firewall (no ``pattern `` key means
348
348
it matches *all * URLs). A firewall can have many modes of authentication,
349
- in other words many ways to ask the question "Who are you?". Often, the
349
+ in other words, it enables many ways to ask the question "Who are you?". Often, the
350
350
user is unknown (i.e. not logged in) when they first visit your website. The
351
351
``anonymous `` mode, if enabled, is used for these requests.
352
352
@@ -361,7 +361,7 @@ It means any request can have an anonymous token to access some resource,
361
361
while some actions (i.e. some pages or buttons) can still require specific
362
362
privileges. A user can then access a form login without being authenticated
363
363
as a unique user (otherwise an infinite redirection loop would happen
364
- asking the user to authenticate while trying to doing so).
364
+ asking the user to authenticate while trying to do so).
365
365
366
366
You'll learn later how to deny access to certain URLs, controllers, or part of
367
367
templates.
@@ -729,9 +729,11 @@ Checking to see if a User is Logged In (IS_AUTHENTICATED_FULLY)
729
729
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
730
730
731
731
If you *only * want to check if a user is logged in (you don't care about roles),
732
- you have two options. First, if you've given *every * user ``ROLE_USER ``, you can
733
- check for that role. Otherwise, you can use a special "attribute" in place of a
734
- role::
732
+ you have the following two options.
733
+
734
+ Firstly, if you've given *every * user ``ROLE_USER ``, you can check for that role.
735
+
736
+ Secondly, you can use a special "attribute" in place of a role::
735
737
736
738
// ...
737
739
@@ -1038,8 +1040,8 @@ Frequently Asked Questions
1038
1040
you authenticate against one firewall, you will *not * be authenticated against
1039
1041
any other firewalls automatically. Different firewalls are like different security
1040
1042
systems. To do this you have to explicitly specify the same
1041
- :ref: `reference-security-firewall-context ` for different firewalls. But usually
1042
- for most applications, having one main firewall is enough .
1043
+ :ref: `reference-security-firewall-context ` for different firewalls. However,
1044
+ one main firewall is usually sufficient for the needs of most applications .
1043
1045
1044
1046
**Security doesn't seem to work on my Error Pages **
1045
1047
As routing is done *before * security, 404 error pages are not covered by
0 commit comments