@@ -22,7 +22,7 @@ the session lasts using a cookie with the ``remember_me`` firewall option:
2222default :
2323# ...
2424remember_me :
25- key : " %secret%"
25+ secret : " %secret%"
2626lifetime :604800 # 1 week in seconds
2727path :/
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%"
5252lifetime =" 604800"
5353path =" /" />
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