Skip to content

Commit fc32f7f

Browse files
sfdumixabbuh
authored andcommitted
Reference to session + Corrected sample code char
Corrected reference to user with reference to session + Removed extra parenthesis from code sample.
1 parent f792232 commit fc32f7f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/controller.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ from any controller::
605605
$filters = $session->get('filters', array());
606606
}
607607

608-
These attributes will remain on the user for the remainder of that user's
608+
These attributes will remain in the session for the remainder of that user's
609609
session.
610610

611611
.. index::
@@ -821,7 +821,7 @@ method to check the CSRF token::
821821
}
822822

823823
// isCsrfTokenValid() is equivalent to:
824-
// $this->get('security.csrf.token_manager')->isTokenValid()
824+
// $this->get('security.csrf.token_manager')->isTokenValid(
825825
// new \Symfony\Component\Security\Csrf\CsrfToken\CsrfToken('token_id', $token)
826826
// );
827827

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy