Skip to content

Commit b254e35

Browse files
committed
[symfony#1862] Fixing bad configuration for new failure_path_parameter option
1 parent 50f8f17 commit b254e35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cookbook/security/form_login.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Form Login Configuration Reference
4242
# login failure redirecting options (read further below)
4343
failure_path: null
4444
failure_forward: false
45-
failure_target_path: _failure_path
45+
failure_path_parameter: _failure_path
4646
4747
# field names for the username and password fields
4848
username_parameter: _username
@@ -67,7 +67,7 @@ Form Login Configuration Reference
6767
use_referer="false"
6868
failure_path="null"
6969
failure_forward="false"
70-
failure_target_path="_failure_path"
70+
failure_path_parameter="_failure_path"
7171
username_parameter="_username"
7272
password_parameter="_password"
7373
csrf_parameter="_csrf_token"
@@ -92,7 +92,7 @@ Form Login Configuration Reference
9292
'use_referer' => false,
9393
'failure_path' => null,
9494
'failure_forward' => false,
95-
'failure_target_path' => _failure_path,
95+
'failure_path_parameter' => _failure_path,
9696
'username_parameter' => '_username',
9797
'password_parameter' => '_password',
9898
'csrf_parameter' => '_csrf_token',

0 commit comments

Comments
 (0)