aboutsummaryrefslogtreecommitdiffstats
path: root/routers/web/auth/webauthn.go
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2023-01-11 21:51:00 -0500
committerGitHub <noreply@github.com>2023-01-11 21:51:00 -0500
commit6f231a7980dd22f686c04d86fb79e1885ad31f6a (patch)
treee33f60ed34d664b70d3ca9c32834b24494d4279d /routers/web/auth/webauthn.go
parent2220e5d2455b28450e2f505152f9fbb8ac597e80 (diff)
downloadgitea-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.go4
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"