Skip to content

Commit 7e45958

Browse files
committed
Added the (important) missing "key" option
1 parent 91172bc commit 7e45958

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cookbook/security/remember_me.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ the session lasts using a cookie with the ``remember_me`` firewall option:
5252
5353
The ``remember_me`` firewall defines the following configuration options:
5454

55+
``key``
56+
(default value: ``null``) The value used to encrypt the cookie's content.
57+
It's common to use the ``secret`` value defined in the ``app/config/parameters.yml``
58+
file.
59+
5560
``name``
5661
(default value: ``REMEMBERME``) The name of the cookie used to maintain the
5762
user logged in. If you enable the "Remember Me" feature in several firewalls

0 commit comments

Comments
 (0)