Skip to content

Commit 5377525

Browse files
committed
some language tweaks
1 parent 1ee04ba commit 5377525

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cookbook/session/locale_sticky_session.rst

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