From 29a22ade82f516d078811d5fbcaf821043a09d8c Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Sat, 24 Jul 2021 07:00:41 -0400 Subject: switch to maintained lib (#16532) Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Andrew Thornton --- modules/generate/generate.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/generate/generate.go') diff --git a/modules/generate/generate.go b/modules/generate/generate.go index 4ed2a503b0..ab05a9cb83 100644 --- a/modules/generate/generate.go +++ b/modules/generate/generate.go @@ -12,7 +12,8 @@ import ( "time" "code.gitea.io/gitea/modules/util" - "github.com/dgrijalva/jwt-go" + + "github.com/golang-jwt/jwt" ) // NewInternalToken generate a new value intended to be used by INTERNAL_TOKEN. -- cgit v1.2.3