Skip to content

Commit 641c773

Browse files
committed
Merge branch '5.4' into 6.4
* 5.4: complete list of support content types
2 parents 21415b0 + 728f2ed commit 641c773

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
@@ -330,10 +330,10 @@ form_only
330330
**type**: ``boolean`` **default**: ``false``
331331

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

338338
use_forward
339339
...........

0 commit comments

Comments
 (0)