Skip to content

Commit dc91bfd

Browse files
committed
#21571 updated "Authentication Success and Failure Events" section
1 parent 953a668 commit dc91bfd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/security/authentication.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -289,9 +289,9 @@ Authentication Success and Failure Events
289289
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
290290

291291
When a provider authenticates the user, a ``security.authentication.success``
292-
event is dispatched. But beware - this event will fire, for example, on *every*
293-
request if you have session-based authentication. See ``security.interactive_login``
294-
below if you need to do something when a user *actually* logs in.
292+
event is dispatched. But beware - this event may fire, for example, on *every*
293+
request if you have session-based authentication, if ``always_authenticate_before_granting`` is enabled or if token is not authenticated before AccessListener is invoked.
294+
See ``security.interactive_login`` below if you need to do something when a user *actually* logs in.
295295

296296
When a provider attempts authentication but fails (i.e. throws an ``AuthenticationException``),
297297
a ``security.authentication.failure`` event is dispatched. You could listen on

0 commit comments

Comments
 (0)