Skip to content

Commit

Permalink
fixed verbose logging message when user account is locked out
Browse files Browse the repository at this point in the history
  • Loading branch information
albogdano committed Dec 16, 2022
1 parent 4949f7b commit 37862b5
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,11 @@ private UserAuthentication getOrCreateUser(App app, String identityProvider, Str
} else if ("passwordless".equalsIgnoreCase(identityProvider)) {
return passwordlessAuth.getOrCreateUser(app, accessToken);
} else if (StringUtils.equalsAnyIgnoreCase(identityProvider, "password", "generic")) {
return passwordAuth.getOrCreateUser(app, accessToken);
try {
return passwordAuth.getOrCreateUser(app, accessToken);
} catch (Exception e) {
logger.error("Failed to get authenticate user with password via JWT Auth filter: " + e.getMessage());
}
}
return null;
}
Expand Down

0 comments on commit 37862b5

Please sign in to comment.