File tree 1 file changed +5
-9
lines changed
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
285
285
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
286
286
287
287
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.
297
293
298
294
Security Events
299
295
~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments