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 ce8744d

Browse filesBrowse files
committed
minor #5081 [Cookbook][Session] some language tweaks (xabbuh)
This PR was merged into the 2.3 branch. Discussion ---------- [Cookbook][Session] some language tweaks | Q | A | ------------- | --- | Doc fix? | yes | New docs? | no | Applies to | all | Fixed tickets | Commits ------- 5377525 some language tweaks
2 parents e9b9376 + 5377525 commit ce8744d
Copy full SHA for ce8744d

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎cookbook/session/locale_sticky_session.rst

Copy file name to clipboardExpand all lines: cookbook/session/locale_sticky_session.rst
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,10 @@ before the ``FirewallListener``, which is responsible for handling authenticatio
116116
setting the user token on the ``TokenStorage``, you have no access to the user
117117
which is logged in.
118118

119-
Let's pretend you have defined a ``locale"`` property on your ``User`` entity
120-
and you want to use this as the locale for the given user. To accomplish this,
121-
you can hook into the login process and update the user's session with the
122-
this locale value before they are redirected to their first page.
119+
Assumed you have defined a ``locale`` property on your ``User`` entity and
120+
you want to use this as the locale for the given user. To accomplish this,
121+
you can hook into the login process and update the user's session with this
122+
locale value before they are redirected to their first page.
123123

124124
To do this, you need an event listener for the ``security.interactive_login``
125125
event:

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.