Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions book/controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ from any controller::
$filters = $session->get('filters', array());
}

These attributes will remain on the user for the remainder of that user's
These attributes will remain in the session for the remainder of that user's
session.

.. index::
Expand Down Expand Up @@ -821,7 +821,7 @@ method to check the CSRF token::
}

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

Expand Down