From 35c3553870e35b2e7cfcc599645791acda6afcef Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 14 Jan 2022 23:03:31 +0800 Subject: Support webauthn (#17957) Migrate from U2F to Webauthn Co-authored-by: Andrew Thornton Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang --- modules/generate/generate.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/generate/generate.go') diff --git a/modules/generate/generate.go b/modules/generate/generate.go index ab05a9cb83..ae9aeee18b 100644 --- a/modules/generate/generate.go +++ b/modules/generate/generate.go @@ -13,7 +13,7 @@ import ( "code.gitea.io/gitea/modules/util" - "github.com/golang-jwt/jwt" + "github.com/golang-jwt/jwt/v4" ) // NewInternalToken generate a new value intended to be used by INTERNAL_TOKEN. -- cgit v1.2.3