diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2014-11-03 04:55:50 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2014-11-03 04:55:50 +0100 |
commit | cbc1e7b11e40e800390fc55fff8614d4d2fb8e0a (patch) | |
tree | 25eed128730f912f20bbede3f447d28a9222fb32 /Http/Firewall | |
parent | 23a63ab4a89a4f720ee3a5c4acbb12b1538ab9df (diff) | |
parent | 9dfc20022d1aae65b26a30ac037ff8eb2dc8417f (diff) | |
download | symfony-security-cbc1e7b11e40e800390fc55fff8614d4d2fb8e0a.zip symfony-security-cbc1e7b11e40e800390fc55fff8614d4d2fb8e0a.tar.gz symfony-security-cbc1e7b11e40e800390fc55fff8614d4d2fb8e0a.tar.bz2 |
Merge branch '2.5'v2.6.0-BETA1
* 2.5:
added missing files
[TwigBundle] added a test
Indicate which file was being parsed if an exception is thrown while running translation:debug
[ClassLoader] Cast $useIncludePath property to boolean
[HttpFoundation] Minor spelling fix in PHPDocs
improve error message for multiple documents
Remove aligned '=>' and '='
[Session] remove invalid workaround in session regenerate
[Kernel] ensure session is saved before sending response
[Routing] serialize the compiled route to speed things up
[Form] Fixed usage of "name" variable in form_start block
[Validator] Fixed Regex::getHtmlPattern() to work with complex and negated patterns
[DependencyInjection] use inheritdoc for loaders
[Config] fix filelocator with empty name
[Form] fix form handling with unconventional request methods like OPTIONS
CSRF warning docs on Request::enableHttpMethodParameterOverride()
Conflicts:
src/Symfony/Component/Console/Helper/ProgressBar.php
Diffstat (limited to 'Http/Firewall')
-rw-r--r-- | Http/Firewall/SimpleFormAuthenticationListener.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Http/Firewall/SimpleFormAuthenticationListener.php b/Http/Firewall/SimpleFormAuthenticationListener.php index 103dc50..7f27b7f 100644 --- a/Http/Firewall/SimpleFormAuthenticationListener.php +++ b/Http/Firewall/SimpleFormAuthenticationListener.php @@ -75,9 +75,9 @@ class SimpleFormAuthenticationListener extends AbstractAuthenticationListener $options = array_merge(array( 'username_parameter' => '_username', 'password_parameter' => '_password', - 'csrf_parameter' => '_csrf_token', - 'intention' => 'authenticate', - 'post_only' => true, + 'csrf_parameter' => '_csrf_token', + 'intention' => 'authenticate', + 'post_only' => true, ), $options); parent::__construct($securityContext, $authenticationManager, $sessionStrategy, $httpUtils, $providerKey, $successHandler, $failureHandler, $options, $logger, $dispatcher); } |