Skip to content

Commit ff7cc1f

Browse files
Use log in/out verbs
1 parent 4725f4f commit ff7cc1f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

book/security.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ that looks like the following:
146146
* Any URL matching ``/admin/*`` is secured, and only the ``admin`` user
147147
can access it;
148148
* All URLs *not* matching ``/admin/*`` are accessible by all users (and the
149-
user is never prompted to login).
149+
user is never prompted to log in).
150150

151151
Let's look briefly at how security works and how each part of the configuration
152152
comes into play.
@@ -1635,9 +1635,9 @@ the first provider is always used:
16351635
),
16361636
));
16371637
1638-
In this example, if a user tries to login via HTTP authentication, the authentication
1638+
In this example, if a user tries to log in via HTTP authentication, the authentication
16391639
system will use the ``in_memory`` user provider. But if the user tries to
1640-
login via the form login, the ``user_db`` provider will be used (since it's
1640+
log in via the form login, the ``user_db`` provider will be used (since it's
16411641
the default for the firewall as a whole).
16421642

16431643
For more information about user provider and firewall configuration, see
@@ -1869,7 +1869,7 @@ Impersonating a User
18691869
--------------------
18701870

18711871
Sometimes, it's useful to be able to switch from one user to another without
1872-
having to logout and login again (for instance when you are debugging or trying
1872+
having to log out and log in again (for instance when you are debugging or trying
18731873
to understand a bug a user sees that you can't reproduce). This can be easily
18741874
done by activating the ``switch_user`` firewall listener:
18751875

cookbook/testing/http_authentication.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ You can also override it on a per request basis::
2222
When your application is using a ``form_login``, you can simplify your tests
2323
by allowing your test configuration to make use of HTTP authentication. This
2424
way you can use the above to authenticate in tests, but still have your users
25-
login via the normal ``form_login``. The trick is to include the ``http_basic``
25+
log in via the normal ``form_login``. The trick is to include the ``http_basic``
2626
key in your firewall, along with the ``form_login`` key:
2727

2828
.. configuration-block::

reference/configuration/security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Each part will be explained in the next section.
117117
# submit the login form here
118118
check_path: /login_check
119119
120-
# the user is redirected here when he/she needs to login
120+
# the user is redirected here when he/she needs to log in
121121
login_path: /login
122122
123123
# if true, forward the user to the login form instead of redirecting

0 commit comments

Comments
 (0)