Use go-webauthn/webauthn

This commit is contained in:
Gucheng Wang
2023-03-07 13:38:48 +08:00
parent ed052b0e6a
commit 5bdede5596
6 changed files with 113 additions and 32 deletions

View File

@ -20,8 +20,8 @@ import (
"strings"
"github.com/casdoor/casdoor/conf"
"github.com/duo-labs/webauthn/protocol"
"github.com/duo-labs/webauthn/webauthn"
"github.com/go-webauthn/webauthn/protocol"
"github.com/go-webauthn/webauthn/webauthn"
)
func GetWebAuthnObject(host string) *webauthn.WebAuthn {