Skip to content

Commit 8e1f978

Browse files
committed
Add missing dot at the end of an exception message
1 parent 55934aa commit 8e1f978

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Security/Core/Authentication/Provider/UserAuthenticationProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function authenticate(TokenInterface $token)
7070
$user = $this->retrieveUser($username, $token);
7171
} catch (UsernameNotFoundException $notFound) {
7272
if ($this->hideUserNotFoundExceptions) {
73-
throw new BadCredentialsException('Bad credentials', 0, $notFound);
73+
throw new BadCredentialsException('Bad credentials.', 0, $notFound);
7474
}
7575
$notFound->setUsername($username);
7676

@@ -87,7 +87,7 @@ public function authenticate(TokenInterface $token)
8787
$this->userChecker->checkPostAuth($user);
8888
} catch (BadCredentialsException $e) {
8989
if ($this->hideUserNotFoundExceptions) {
90-
throw new BadCredentialsException('Bad credentials', 0, $e);
90+
throw new BadCredentialsException('Bad credentials.', 0, $e);
9191
}
9292

9393
throw $e;

0 commit comments

Comments
 (0)