Skip to content

Added failure_path param #1862

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 24, 2012
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cookbook/security/form_login.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ Form Login Configuration Reference
# login failure redirecting options (read further below)
failure_path: null
failure_forward: false
failure_target_path: _failure_path

# field names for the username and password fields
username_parameter: _username
Expand All @@ -66,6 +67,7 @@ Form Login Configuration Reference
use_referer="false"
failure_path="null"
failure_forward="false"
failure_target_path="_failure_path"
username_parameter="_username"
password_parameter="_password"
csrf_parameter="_csrf_token"
Expand All @@ -90,6 +92,7 @@ Form Login Configuration Reference
'use_referer' => false,
'failure_path' => null,
'failure_forward' => false,
'failure_target_path' => _failure_path,
'username_parameter' => '_username',
'password_parameter' => '_password',
'csrf_parameter' => '_csrf_token',
Expand Down
1 change: 1 addition & 0 deletions reference/configuration/security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ Each part will be explained in the next section.
use_referer: false
failure_path: /foo
failure_forward: false
failure_path_parameter: _failure_path
failure_handler: some.service.id
success_handler: some.service.id
username_parameter: _username
Expand Down