diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2014-07-25 11:13:45 +0200 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2014-07-25 11:13:45 +0200 |
commit | b9bfbe125fa69cea79c47886512098865d066363 (patch) | |
tree | f54300cced1d82a73683c80b4157540559405c5b /Core/Authentication | |
parent | 598e58a42f42eaaf597afdef41137557f8c862fc (diff) | |
parent | 7ea2902651b66aac2453e94ad7309bcb221dc402 (diff) | |
download | symfony-security-b9bfbe125fa69cea79c47886512098865d066363.zip symfony-security-b9bfbe125fa69cea79c47886512098865d066363.tar.gz symfony-security-b9bfbe125fa69cea79c47886512098865d066363.tar.bz2 |
minor #11215 [Security] Add missing dot at the end of an exception message (rybakit)
This PR was merged into the 2.6-dev branch.
Discussion
----------
[Security] Add missing dot at the end of an exception message
| Q | A
| ------------- | ---
| Fixed tickets | -
| License | MIT
Commits
-------
8e1f978 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; |