Skip to content

Commit

Permalink
fix for non-sufficient modules condition
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Mar 10, 2023
1 parent af86dfd commit 106e79d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public boolean isAuthenticated() {
private boolean wasSuccessfullyProcessedOtherThanUnsufficientModules() {
long sufficientModuleCount = getAuthentications().stream()
.filter(module -> AuthenticationModuleState.SUCCESSFULLY == module.getState())
.filter(module -> module.isSufficient())
.filter(module -> !module.isSufficient())
.count();
return sufficientModuleCount > 0;
}
Expand Down

0 comments on commit 106e79d

Please sign in to comment.