Skip to content

Commit a14bd07

Browse files
author
Kevin Weber
committed
Security - Authentication - removed inaccurate tip.
1 parent 5bdfd71 commit a14bd07

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

components/security/authentication.rst

+5-9
Original file line numberDiff line numberDiff line change
@@ -285,15 +285,11 @@ Authentication Success and Failure Events
285285
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
286286

287287
When a provider authenticates the user, a ``security.authentication.success``
288-
event is dispatched. Likewise, when no providers authenticate the user,
289-
a ``security.authentication.failure`` event is dispatched. You
290-
could listen on the ``security.authentication.failure`` event, for example,
291-
in order to log failed login attempts.
292-
293-
.. tip::
294-
295-
One of the authentication events is always triggered when a request points
296-
to a secured area.
288+
event is dispatched. Likewise, when a provider attempts authentication but
289+
fails (i.e. throws an ``AuthenticationException``), a
290+
``security.authentication.failure`` event is dispatched. You could listen on
291+
the ``security.authentication.failure`` event, for example, in order to log
292+
failed login attempts.
297293

298294
Security Events
299295
~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)