File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Security/Core/Authentication/Provider Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public function authenticate(TokenInterface $token)
70
70
$ user = $ this ->retrieveUser ($ username , $ token );
71
71
} catch (UsernameNotFoundException $ notFound ) {
72
72
if ($ this ->hideUserNotFoundExceptions ) {
73
- throw new BadCredentialsException ('Bad credentials ' , 0 , $ notFound );
73
+ throw new BadCredentialsException ('Bad credentials. ' , 0 , $ notFound );
74
74
}
75
75
$ notFound ->setUsername ($ username );
76
76
@@ -87,7 +87,7 @@ public function authenticate(TokenInterface $token)
87
87
$ this ->userChecker ->checkPostAuth ($ user );
88
88
} catch (BadCredentialsException $ e ) {
89
89
if ($ this ->hideUserNotFoundExceptions ) {
90
- throw new BadCredentialsException ('Bad credentials ' , 0 , $ e );
90
+ throw new BadCredentialsException ('Bad credentials. ' , 0 , $ e );
91
91
}
92
92
93
93
throw $ e ;
You can’t perform that action at this time.
0 commit comments