diff --git a/selfservice/strategy/webauthn/mock.go b/selfservice/strategy/webauthn/mock.go index ca829d32f489..aba60aa47c3f 100644 --- a/selfservice/strategy/webauthn/mock.go +++ b/selfservice/strategy/webauthn/mock.go @@ -2,18 +2,17 @@ package webauthn import ( "github.com/duo-labs/webauthn/webauthn" - "github.com/gofrs/uuid" ) type wrappedUser struct { - id uuid.UUID + id []byte c []webauthn.Credential } var _ webauthn.User = (*wrappedUser)(nil) func (user *wrappedUser) WebAuthnID() []byte { - return user.id[:] + return user.id } func (user *wrappedUser) WebAuthnName() string {