diff options
author | Eugene Leonovich <gen.work@gmail.com> | 2014-06-24 16:50:51 +0200 |
---|---|---|
committer | Eugene Leonovich <gen.work@gmail.com> | 2014-06-24 16:50:51 +0200 |
commit | 7ea2902651b66aac2453e94ad7309bcb221dc402 (patch) | |
tree | 690801c7de234911b0c010a68f5eb4250cf88a0d /Core/Authentication | |
parent | 24f753ea356e86d522f673283ed33db294601c09 (diff) | |
download | symfony-security-7ea2902651b66aac2453e94ad7309bcb221dc402.zip symfony-security-7ea2902651b66aac2453e94ad7309bcb221dc402.tar.gz symfony-security-7ea2902651b66aac2453e94ad7309bcb221dc402.tar.bz2 |
Add missing dot at the end of an exception message
Diffstat (limited to 'Core/Authentication')
-rw-r--r-- | Core/Authentication/Provider/UserAuthenticationProvider.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Core/Authentication/Provider/UserAuthenticationProvider.php b/Core/Authentication/Provider/UserAuthenticationProvider.php index 3728c01..4371abf 100644 --- a/Core/Authentication/Provider/UserAuthenticationProvider.php +++ b/Core/Authentication/Provider/UserAuthenticationProvider.php @@ -70,7 +70,7 @@ abstract class UserAuthenticationProvider implements AuthenticationProviderInter $user = $this->retrieveUser($username, $token); } catch (UsernameNotFoundException $notFound) { if ($this->hideUserNotFoundExceptions) { - throw new BadCredentialsException('Bad credentials', 0, $notFound); + throw new BadCredentialsException('Bad credentials.', 0, $notFound); } $notFound->setUsername($username); @@ -87,7 +87,7 @@ abstract class UserAuthenticationProvider implements AuthenticationProviderInter $this->userChecker->checkPostAuth($user); } catch (BadCredentialsException $e) { if ($this->hideUserNotFoundExceptions) { - throw new BadCredentialsException('Bad credentials', 0, $e); + throw new BadCredentialsException('Bad credentials.', 0, $e); } throw $e; |