diff options
Diffstat (limited to 'Core')
-rw-r--r-- | Core/Encoder/PlaintextPasswordEncoder.php | 4 | ||||
-rw-r--r-- | Core/Exception/NonceExpiredException.php | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Core/Encoder/PlaintextPasswordEncoder.php b/Core/Encoder/PlaintextPasswordEncoder.php index 98982b0..e155fbd 100644 --- a/Core/Encoder/PlaintextPasswordEncoder.php +++ b/Core/Encoder/PlaintextPasswordEncoder.php @@ -42,8 +42,8 @@ class PlaintextPasswordEncoder extends BasePasswordEncoder if (!$this->ignorePasswordCase) { return $this->comparePasswords($encoded, $pass2); - } else { - return $this->comparePasswords(strtolower($encoded), strtolower($pass2)); } + + return $this->comparePasswords(strtolower($encoded), strtolower($pass2)); } } diff --git a/Core/Exception/NonceExpiredException.php b/Core/Exception/NonceExpiredException.php index 5544a63..34bb1dd 100644 --- a/Core/Exception/NonceExpiredException.php +++ b/Core/Exception/NonceExpiredException.php @@ -9,7 +9,7 @@ * file that was distributed with this source code. */ -namespace Symfony\Component\HttpKernel\Security\EntryPoint; +namespace Symfony\Component\Security\Core\Exception; use Symfony\Component\Security\Core\Exception\AuthenticationException; use Symfony\Component\Security\Http\EntryPoint\AuthenticationEntryPointInterface; |