Skip to content

Commit b7ea63a

Browse files
authored
Fix not existing secret parameter
1 parent 600f5ae commit b7ea63a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

security/remember_me.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ the session lasts using a cookie with the ``remember_me`` firewall option:
2222
main:
2323
# ...
2424
remember_me:
25-
secret: '%secret%'
25+
secret: '%kernel.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-
secret="%secret%"
51+
secret="%kernel.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
'main' => array(
6969
// ...
7070
'remember_me' => array(
71-
'secret' => '%secret%',
71+
'secret' => '%kernel.secret%',
7272
'lifetime' => 604800, // 1 week in seconds
7373
'path' => '/',
7474
// by default, the feature is enabled by checking a

0 commit comments

Comments
 (0)