oops, .info messages
This commit is contained in:
parent
51e927adf7
commit
f87ba8a3a9
1 changed files with 0 additions and 2 deletions
|
@ -137,7 +137,6 @@ public abstract class AbstractUsernameFormAuthenticator extends AbstractFormAuth
|
|||
if (context.getUser() != null) {
|
||||
context.getEvent().user(context.getUser());
|
||||
}
|
||||
logger.info("null password");
|
||||
context.getEvent().error(Errors.INVALID_USER_CREDENTIALS);
|
||||
Response challengeResponse = invalidCredentials(context);
|
||||
context.failureChallenge(AuthenticationFlowError.INVALID_CREDENTIALS, challengeResponse);
|
||||
|
@ -146,7 +145,6 @@ public abstract class AbstractUsernameFormAuthenticator extends AbstractFormAuth
|
|||
credentials.add(UserCredentialModel.password(password));
|
||||
boolean valid = context.getSession().users().validCredentials(context.getRealm(), context.getUser(), credentials);
|
||||
if (!valid) {
|
||||
logger.info("bad password:" + password);
|
||||
context.getEvent().user(context.getUser());
|
||||
context.getEvent().error(Errors.INVALID_USER_CREDENTIALS);
|
||||
Response challengeResponse = invalidCredentials(context);
|
||||
|
|
Loading…
Reference in a new issue