Skip to content

Commit

Permalink
Revert "fix for non-sufficient modules condition"
Browse files Browse the repository at this point in the history
This reverts commit 106e79d.
  • Loading branch information
KaterynaHonchar committed Mar 10, 2023
1 parent d472ac7 commit 8931530
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 8931530

Please sign in to comment.