Skip to content

Commit c118cb6

Browse files
committed
minor #6911 Article about logout. (BorodinDemid)
This PR was submitted for the 3.1 branch but it was merged into the 2.7 branch instead (closes #6911). Discussion ---------- Article about logout. In this lesson, we go through the authorization HTTP BASIC. I have tried to use this example and in the end got the exact same error again and again. The Internet has a lot of open topics about this. Like many other people, I have scroll lesson up to understand where I made a mistake. I think you need to specify that this is not a working example (in this context) it will save a lot of time people who study it. Commits ------- c64ca7a Article about logout.
2 parents b541564 + c64ca7a commit c118cb6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

security.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,6 +1102,14 @@ key:
11021102
Logging Out
11031103
-----------
11041104

1105+
.. caution::
1106+
1107+
Notice that when using http-basic authenticated firewalls, there is no
1108+
real way to log out : the only way to *log out* is to have the browser
1109+
stop sending your name and password on every request. Clearing your
1110+
browser cache or restarting your browser usually helps. Some web developer
1111+
tools might be helpful here too.
1112+
11051113
Usually, you'll also want your users to be able to log out. Fortunately,
11061114
the firewall can handle this automatically for you when you activate the
11071115
``logout`` config parameter:
@@ -1202,14 +1210,6 @@ is defined by the ``target`` parameter above (e.g. the ``homepage``).
12021210
:class:`Symfony\\Component\\Security\\Http\\Logout\\LogoutSuccessHandlerInterface`.
12031211
See :doc:`Security Configuration Reference </reference/configuration/security>`.
12041212

1205-
.. caution::
1206-
1207-
Notice that when using http-basic authenticated firewalls, there is no
1208-
real way to log out : the only way to *log out* is to have the browser
1209-
stop sending your name and password on every request. Clearing your
1210-
browser cache or restarting your browser usually helps. Some web developer
1211-
tools might be helpful here too.
1212-
12131213
.. _security-role-hierarchy:
12141214

12151215
Hierarchical Roles

0 commit comments

Comments
 (0)