Skip to content

Commit d49154c

Browse files
authored
CS
1 parent cde8e06 commit d49154c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

security/custom_authenticator.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,12 @@ or there was something wrong (e.g. incorrect password). The authenticator
152152
can define what happens in these cases:
153153

154154
``onAuthenticationSuccess(Request $request, TokenInterface $token, string $firewallName): ?Response``
155-
If authentication is successful, this method is called with the
155+
If authentication is successful, this method is called with the
156156
authenticated ``$token``.
157157

158158
This method can return a response (e.g. redirect the user to some page).
159159

160-
If ``null`` is returned, the current request will continue (and the
160+
If ``null`` is returned, the current request will continue (and the
161161
user will be authenticated). This is useful for API routes where each
162162
route is protected by an API key header.
163163

@@ -168,8 +168,8 @@ can define what happens in these cases:
168168
This method can return a response (e.g. send a 401 Unauthorized in API
169169
routes).
170170

171-
If ``null`` is returned, the request continues (but the user will **not**
172-
be authenticated). This is useful for login forms, where the login
171+
If ``null`` is returned, the request continues (but the user will **not**
172+
be authenticated). This is useful for login forms, where the login
173173
controller is run again with the login errors.
174174

175175
If you're using :ref:`login throttling <security-login-throttling>`,

0 commit comments

Comments
 (0)