Add missing dot at the end of an exception message
This commit is contained in:
parent
55934aa239
commit
8e1f9786e1
@ -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;
|
||||
|
Reference in New Issue
Block a user