@@ -152,12 +152,12 @@ or there was something wrong (e.g. incorrect password). The authenticator
152
152
can define what happens in these cases:
153
153
154
154
``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
156
156
authenticated ``$token ``.
157
157
158
158
This method can return a response (e.g. redirect the user to some page).
159
159
160
- If ``null `` is returned, the current request will continue (and the
160
+ If ``null `` is returned, the current request will continue (and the
161
161
user will be authenticated). This is useful for API routes where each
162
162
route is protected by an API key header.
163
163
@@ -168,8 +168,8 @@ can define what happens in these cases:
168
168
This method can return a response (e.g. send a 401 Unauthorized in API
169
169
routes).
170
170
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
173
173
controller is run again with the login errors.
174
174
175
175
If you're using :ref: `login throttling <security-login-throttling >`,
0 commit comments