Skip to content

Commit

Permalink
chore: synchronize workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Oct 23, 2024
1 parent 3a1503c commit 030adf3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions identity/credentials_webauthn.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,14 @@ func (c *CredentialWebAuthn) ToWebAuthn() *webauthn.Credential {
PublicKey: c.PublicKey,
AttestationType: c.AttestationType,
Transport: c.Transport,
Authenticator: webauthn.Authenticator{
}

if c.Authenticator != nil {
wc.Authenticator = webauthn.Authenticator{
AAGUID: c.Authenticator.AAGUID,
SignCount: c.Authenticator.SignCount,
CloneWarning: c.Authenticator.CloneWarning,
},
}
}

if c.Flags != nil {
Expand Down

0 comments on commit 030adf3

Please sign in to comment.