summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDisquedur <contact@disquedur.tk>2014-10-30 21:17:55 +0100
committerDisquedur <contact@disquedur.tk>2014-10-30 21:17:55 +0100
commit9dfc20022d1aae65b26a30ac037ff8eb2dc8417f (patch)
tree23db20939032fe4499cf783ecaa0d9b05f6f6b78
parent8b76e3bd74bf9d80b713cdde567f3341c03080d1 (diff)
downloadsymfony-security-9dfc20022d1aae65b26a30ac037ff8eb2dc8417f.zip
symfony-security-9dfc20022d1aae65b26a30ac037ff8eb2dc8417f.tar.gz
symfony-security-9dfc20022d1aae65b26a30ac037ff8eb2dc8417f.tar.bz2
Remove aligned '=>' and '='
-rw-r--r--Core/Authorization/AccessDecisionManager.php4
-rw-r--r--Http/Firewall/SimpleFormAuthenticationListener.php6
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 20ce4f2..5b905df 100644
--- a/Http/Firewall/SimpleFormAuthenticationListener.php
+++ b/Http/Firewall/SimpleFormAuthenticationListener.php
@@ -74,9 +74,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);
}