Fix issues identified in PR review
Signed-off-by: Tomas Borghi <137845283+Borghii@users.noreply.github.com>
This commit is contained in:
parent
e3a715b8f5
commit
5571ad1b27
|
|
@ -346,8 +346,7 @@ public class Webauthn4JRelyingPartyOperations implements WebAuthnRelyingPartyOpe
|
|||
}
|
||||
|
||||
private List<CredentialRecord> findCredentialRecords(Authentication authentication) {
|
||||
AuthenticationTrustResolver trustResolver = new AuthenticationTrustResolverImpl();
|
||||
if (authentication == null || trustResolver.isAnonymous(authentication)) {
|
||||
if (authentication == null || this.trustResolver.isAnonymous(authentication)) {
|
||||
return Collections.emptyList();
|
||||
}
|
||||
PublicKeyCredentialUserEntity userEntity = this.userEntities.findByUsername(authentication.getName());
|
||||
|
|
|
|||
Loading…
Reference in New Issue