diff options
author | techknowlogick <techknowlogick@gitea.io> | 2023-01-11 21:51:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-11 21:51:00 -0500 |
commit | 6f231a7980dd22f686c04d86fb79e1885ad31f6a (patch) | |
tree | e33f60ed34d664b70d3ca9c32834b24494d4279d /routers/web/auth/webauthn.go | |
parent | 2220e5d2455b28450e2f505152f9fbb8ac597e80 (diff) | |
download | gitea-6f231a7980dd22f686c04d86fb79e1885ad31f6a.tar.gz gitea-6f231a7980dd22f686c04d86fb79e1885ad31f6a.zip |
Replace deprecated Webauthn library (#22400)
Fix #22052
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'routers/web/auth/webauthn.go')
-rw-r--r-- | routers/web/auth/webauthn.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/web/auth/webauthn.go b/routers/web/auth/webauthn.go index 965fc10fe7..e369f86081 100644 --- a/routers/web/auth/webauthn.go +++ b/routers/web/auth/webauthn.go @@ -16,8 +16,8 @@ import ( "code.gitea.io/gitea/modules/setting" "code.gitea.io/gitea/services/externalaccount" - "github.com/duo-labs/webauthn/protocol" - "github.com/duo-labs/webauthn/webauthn" + "github.com/go-webauthn/webauthn/protocol" + "github.com/go-webauthn/webauthn/webauthn" ) var tplWebAuthn base.TplName = "user/auth/webauthn" |