8000 Reference to session + Corrected sample code char · gbalcewicz/symfony-docs@fc32f7f · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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)
0