8000 Update security.rst · symfony/symfony-docs@52ff70f · GitHub
[go: up one dir, main page]

Skip to content

Commit 52ff70f

Browse files
authored
Update security.rst
Added the config value for failure_path under form_login (it was missing).
1 parent d580c14 commit 52ff70f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

reference/configuration/security.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,14 @@ URL and process the submitted login credentials.
248248
Be sure that this URL is covered by your main firewall (i.e. don't create
249249
a separate firewall just for ``check_path`` URL).
250250

251+
failure_path
252+
..........
253+
254+
**type**: ``string`` **default**: ``/login``
255+
256+
This is the route or path that the user is redirected to after a failed login attempt.
257+
It can be a relative/absolute URL or a Symfony route name.
258+
251259
use_forward
252260
...........
253261

0 commit comments

Comments
 (0)
0