diff --git a/security/remember_me.rst b/security/remember_me.rst index ae1352be1ed..1021168cdd2 100644 --- a/security/remember_me.rst +++ b/security/remember_me.rst @@ -22,7 +22,7 @@ the session lasts using a cookie with the ``remember_me`` firewall option: main: # ... remember_me: - secret: '%secret%' + secret: '%kernel.secret%' lifetime: 604800 # 1 week in seconds path: / # 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: