Skip to content

Commit e9e5b9c

Browse files
committed
minor #6149 Reference to session + Corrected sample code char (sfdumi)
This PR was submitted for the 3.0 branch but it was merged into the 2.8 branch instead (closes #6149). Discussion ---------- Reference to session + Corrected sample code char Corrected reference to user with reference to session + Removed extra parenthesis from code sample. Commits ------- fc32f7f Reference to session + Corrected sample code char
2 parents f792232 + fc32f7f commit e9e5b9c

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