mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-15 17:53:08 +03:00
feat: add support for Postgres database provider (#79)
This commit is contained in:
@@ -33,7 +33,7 @@ func (u User) WebAuthnCredentials() []webauthn.Credential {
|
||||
|
||||
for i, credential := range u.Credentials {
|
||||
credentials[i] = webauthn.Credential{
|
||||
ID: []byte(credential.CredentialID),
|
||||
ID: credential.CredentialID,
|
||||
AttestationType: credential.AttestationType,
|
||||
PublicKey: credential.PublicKey,
|
||||
Transport: credential.Transport,
|
||||
|
||||
Reference in New Issue
Block a user