File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ the session lasts using a cookie with the ``remember_me`` firewall option:
2222 default :
2323 # ...
2424 remember_me :
25- key : " %secret%"
25+ secret : " %secret%"
2626 lifetime : 604800 # 1 week in seconds
2727 path : /
2828 # by default, the feature is enabled by checking a
@@ -48,7 +48,7 @@ the session lasts using a cookie with the ``remember_me`` firewall option:
4848
4949 <!-- 604800 is 1 week in seconds -->
5050 <remember-me
51- key =" %secret%"
51+ secret =" %secret%"
5252 lifetime =" 604800"
5353 path =" /" />
5454 <!-- by default, the feature is enabled by checking a checkbox
@@ -68,7 +68,7 @@ the session lasts using a cookie with the ``remember_me`` firewall option:
6868 'default' => array(
6969 // ...
7070 'remember_me' => array(
71- 'key' => '%secret%',
71+ 'secret' => '%secret%',
7272 'lifetime' => 604800, // 1 week in seconds
7373 'path' => '/',
7474 // by default, the feature is enabled by checking a
@@ -82,7 +82,7 @@ the session lasts using a cookie with the ``remember_me`` firewall option:
8282
8383 The ``remember_me `` firewall defines the following configuration options:
8484
85- ``key `` (**required **)
85+ ``secret `` (**required **)
8686 The value used to encrypt the cookie's content. It's common to use the
8787 ``secret `` value defined in the ``app/config/parameters.yml `` file.
8888
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ Each part will be explained in the next section.
180180
181181 remember_me :
182182 token_provider : name
183- key : someS3cretKey
183+ secret : someS3cretKey
184184 name : NameOfTheCookie
185185 lifetime : 3600 # in seconds
186186 path : /foo
@@ -227,7 +227,7 @@ Each part will be explained in the next section.
227227 domain : ~
228228 handlers : []
229229 anonymous :
230- key : 4f954a0667e01
230+ secret : 4f954a0667e01
231231 switch_user :
232232 provider : ~
233233 parameter : _switch_user
You can’t perform that action at this time.
0 commit comments