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 | |
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
-rw-r--r-- | Core/Authorization/AccessDecisionManager.php | 4 | ||||
-rw-r--r-- | Http/Firewall/SimpleFormAuthenticationListener.php | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/Core/Authorization/AccessDecisionManager.php b/Core/Authorization/AccessDecisionManager.php index 84856f6..b8b6a77 100644 --- a/Core/Authorization/AccessDecisionManager.php +++ b/Core/Authorization/AccessDecisionManager.php @@ -23,8 +23,8 @@ use Symfony\Component\Security\Core\Authentication\Token\TokenInterface; class AccessDecisionManager implements AccessDecisionManagerInterface { const STRATEGY_AFFIRMATIVE = 'affirmative'; - const STRATEGY_CONSENSUS = 'consensus'; - const STRATEGY_UNANIMOUS = 'unanimous'; + const STRATEGY_CONSENSUS = 'consensus'; + const STRATEGY_UNANIMOUS = 'unanimous'; private $voters; private $strategy; 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); } |