File tree 2 files changed +6
-6
lines changed
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:
22
22
default :
23
23
# ...
24
24
remember_me :
25
- key : " %secret%"
25
+ secret : " %secret%"
26
26
lifetime : 604800 # 1 week in seconds
27
27
path : /
28
28
# 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:
48
48
49
49
<!-- 604800 is 1 week in seconds -->
50
50
<remember-me
51
- key =" %secret%"
51
+ secret =" %secret%"
52
52
lifetime =" 604800"
53
53
path =" /" />
54
54
<!-- 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:
68
68
'default' => array(
69
69
// ...
70
70
'remember_me' => array(
71
- 'key' => '%secret%',
71
+ 'secret' => '%secret%',
72
72
'lifetime' => 604800, // 1 week in seconds
73
73
'path' => '/',
74
74
// 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:
82
82
83
83
The ``remember_me `` firewall defines the following configuration options:
84
84
85
- ``key `` (**required **)
85
+ ``secret `` (**required **)
86
86
The value used to encrypt the cookie's content. It's common to use the
87
87
``secret `` value defined in the ``app/config/parameters.yml `` file.
88
88
Original file line number Diff line number Diff line change @@ -180,7 +180,7 @@ Each part will be explained in the next section.
180
180
181
181
remember_me :
182
182
token_provider : name
183
- key : someS3cretKey
183
+ secret : someS3cretKey
184
184
name : NameOfTheCookie
185
185
lifetime : 3600 # in seconds
186
186
path : /foo
@@ -227,7 +227,7 @@ Each part will be explained in the next section.
227
227
domain : ~
228
228
handlers : []
229
229
anonymous :
230
- key : 4f954a0667e01
230
+ secret : 4f954a0667e01
231
231
switch_user :
232
232
provider : ~
233
233
parameter : _switch_user
You can’t perform that action at this time.
0 commit comments