Skip to content

Commit

Permalink
fix(lookup): resolve credentials counting regression
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Mar 7, 2022
1 parent 737bb3f commit 50782c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfservice/strategy/lookup/settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ func (s *Strategy) identityHasLookup(ctx context.Context, id uuid.UUID) (bool, e
return false, err
}

count, err := s.CountActiveFirstFactorCredentials(confidential.Credentials)
count, err := s.CountActiveMultiFactorCredentials(confidential.Credentials)
if err != nil {
return false, err
}
Expand Down

0 comments on commit 50782c6

Please sign in to comment.