Skip to content

Commit 1cb9c6b

Browse files
committed
minor #20149 [Security] complete list of support content types (xabbuh)
This PR was merged into the 5.4 branch. Discussion ---------- [Security] complete list of support content types see symfony/symfony#53956 Commits ------- 301087b complete list of support content types
2 parents 3362875 + 301087b commit 1cb9c6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

reference/configuration/security.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,10 @@ form_only
350350
**type**: ``boolean`` **default**: ``false``
351351

352352
Set this option to ``true`` to require that the login data is sent using a form
353-
(it checks that the request content-type is ``application/x-www-form-urlencoded``).
354-
This is useful for example to prevent the :ref:`form login authenticator <security-form-login>`
355-
from responding to requests that should be handled by the
356-
:ref:`JSON login authenticator <security-json-login>`.
353+
(it checks that the request content-type is ``application/x-www-form-urlencoded``
354+
or ``multipart/form-data``) This is useful for example to prevent the.
355+
:ref:`form login authenticator <security-form-login>` from responding to
356+
requests that should be handled by the :ref:`JSON login authenticator <security-json-login>`.
357357

358358
.. versionadded:: 5.4
359359

0 commit comments

Comments
 (0)