File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
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
You can’t perform that action at this time.
0 commit comments