We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d40cfd commit 4559b9cCopy full SHA for 4559b9c
reference/configuration/security.rst
@@ -352,6 +352,19 @@ failure_path
352
This is the route or path that the user is redirected to after a failed login attempt.
353
It can be a relative/absolute URL or a Symfony route name.
354
355
+form_only
356
+............
357
+
358
+**type**: ``boolean`` **default**: ``false``
359
360
+By setting this option to ``true``, a content type check will be performed when the login form is submitted
361
+(i.e. the login form will be processed if it is the form data, so with a
362
+content type ``application/x-www-form-urlencoded``.
363
364
+.. versionadded:: 5.4
365
366
+ The ``form_only`` option was introduced in Symfony 5.4.
367
368
use_forward
369
...........
370
0 commit comments