Removed comment about status checking as it is not entirely correct and misleads people.
This commit is contained in:
parent
bf41423b5b
commit
a43d054bd7
|
@ -133,8 +133,6 @@ public abstract class AbstractUserDetailsAuthenticationProvider implements Authe
|
||||||
|
|
||||||
preAuthenticationChecks.check(user);
|
preAuthenticationChecks.check(user);
|
||||||
|
|
||||||
// This check must come here, as we don't want to tell users
|
|
||||||
// about account status unless they presented the correct credentials
|
|
||||||
try {
|
try {
|
||||||
additionalAuthenticationChecks(user, (UsernamePasswordAuthenticationToken) authentication);
|
additionalAuthenticationChecks(user, (UsernamePasswordAuthenticationToken) authentication);
|
||||||
} catch (AuthenticationException exception) {
|
} catch (AuthenticationException exception) {
|
||||||
|
|
Loading…
Reference in New Issue