summaryrefslogtreecommitdiffstats
path: root/Http/Authentication
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2014-09-21 20:53:12 +0200
committerFabien Potencier <fabien.potencier@gmail.com>2014-09-22 10:32:35 +0200
commit2d2a3fa99c5d006c67dcaed702ac9a306ebe9c41 (patch)
tree302513f87846d4bc57246b93ba90977ad8b8540b /Http/Authentication
parent4368c75cbeb587fede098da5a6c5c705fe19f238 (diff)
downloadsymfony-security-2d2a3fa99c5d006c67dcaed702ac9a306ebe9c41.zip
symfony-security-2d2a3fa99c5d006c67dcaed702ac9a306ebe9c41.tar.gz
symfony-security-2d2a3fa99c5d006c67dcaed702ac9a306ebe9c41.tar.bz2
fixed CS
Diffstat (limited to 'Http/Authentication')
-rw-r--r--Http/Authentication/DefaultAuthenticationFailureHandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Http/Authentication/DefaultAuthenticationFailureHandler.php b/Http/Authentication/DefaultAuthenticationFailureHandler.php
index f106a4a..db96e67 100644
--- a/Http/Authentication/DefaultAuthenticationFailureHandler.php
+++ b/Http/Authentication/DefaultAuthenticationFailureHandler.php
@@ -53,7 +53,7 @@ class DefaultAuthenticationFailureHandler implements AuthenticationFailureHandle
'failure_path' => null,
'failure_forward' => false,
'login_path' => '/login',
- 'failure_path_parameter' => '_failure_path'
+ 'failure_path_parameter' => '_failure_path',
), $options);
}
@@ -63,7 +63,7 @@ class DefaultAuthenticationFailureHandler implements AuthenticationFailureHandle
public function onAuthenticationFailure(Request $request, AuthenticationException $exception)
{
if ($failureUrl = $request->get($this->options['failure_path_parameter'], null, true)) {
- $this->options['failure_path'] = $failureUrl;
+ $this->options['failure_path'] = $failureUrl;
}
if (null === $this->options['failure_path']) {