Skip to content

Commit 7f021b5

Browse files
committed
[Security] Document the remember_me.service option
1 parent 2d57b66 commit 7f021b5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

security/remember_me.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,15 @@ The ``remember_me`` firewall defines the following configuration options:
132132
Defines the service id of a token provider to use. If you want to store tokens
133133
in the database, see :ref:`remember-me-token-in-database`.
134134

135+
``service`` (default value: ``null``)
136+
Defines the ID of the service used to handle the Remember Me feature. It's
137+
mostly useful in complex applications that need to override the default
138+
behavior entirely.
139+
140+
.. versionadded:: 5.1
141+
142+
The ``service`` option was introduced in Symfony 5.1.
143+
135144
Forcing the User to Opt-Out of the Remember Me Feature
136145
------------------------------------------------------
137146

0 commit comments

Comments
 (0)