File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -285,15 +285,11 @@ Authentication Success and Failure Events
285285~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
286286
287287When 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
298294Security Events
299295~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments