Skip to content

Commit 967ee2a

Browse files
committed
minor #8926 Fix not existing secret parameter (pyrech)
This PR was merged into the 4.0 branch. Discussion ---------- Fix not existing secret parameter Not sure about this one but the `secret` parameter does not seem to exist on a fresh Symfony install Commits ------- b7ea63a Fix not existing secret parameter
2 parents e6014d4 + b7ea63a commit 967ee2a

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)