File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -350,10 +350,10 @@ form_only
350
350
**type **: ``boolean `` **default **: ``false ``
351
351
352
352
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 >`.
357
357
358
358
.. versionadded :: 5.4
359
359
You can’t perform that action at this time.
0 commit comments