We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3b1795 commit 7b85999Copy full SHA for 7b85999
security/guard_authentication.rst
@@ -502,7 +502,7 @@ and add the following logic::
502
503
public function getCredentials(Request $request)
504
{
505
- $token = $request->request->get('_csrf_token');
+ $csrfToken = $request->request->get('_csrf_token');
506
507
if (false === $this->csrfTokenManager->isTokenValid(new CsrfToken('authenticate', $csrfToken))) {
508
throw new InvalidCsrfTokenException('Invalid CSRF token.');
0 commit comments