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 /models | |
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 'models')
-rw-r--r-- | models/auth/webauthn.go | 2 | ||||
-rw-r--r-- | models/auth/webauthn_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/models/auth/webauthn.go b/models/auth/webauthn.go index d5b2ceafd3..db5dd7eea5 100644 --- a/models/auth/webauthn.go +++ b/models/auth/webauthn.go @@ -12,7 +12,7 @@ import ( "code.gitea.io/gitea/modules/timeutil" "code.gitea.io/gitea/modules/util" - "github.com/duo-labs/webauthn/webauthn" + "github.com/go-webauthn/webauthn/webauthn" "xorm.io/xorm" ) diff --git a/models/auth/webauthn_test.go b/models/auth/webauthn_test.go index 8ba900bf89..6f2ec087c7 100644 --- a/models/auth/webauthn_test.go +++ b/models/auth/webauthn_test.go @@ -9,7 +9,7 @@ import ( auth_model "code.gitea.io/gitea/models/auth" "code.gitea.io/gitea/models/unittest" - "github.com/duo-labs/webauthn/webauthn" + "github.com/go-webauthn/webauthn/webauthn" "github.com/stretchr/testify/assert" ) |