aboutsummaryrefslogtreecommitdiffstats
path: root/modules/generate/generate.go
diff options
context:
space:
mode:
authortechknowlogick <techknowlogick@gitea.io>2021-07-24 07:00:41 -0400
committerGitHub <noreply@github.com>2021-07-24 13:00:41 +0200
commit29a22ade82f516d078811d5fbcaf821043a09d8c (patch)
tree972a75bc52c2244673ced4933a51827a0a75ef3b /modules/generate/generate.go
parent5d2e11eedb837f26d13e3b904583730cd8492fbd (diff)
downloadgitea-29a22ade82f516d078811d5fbcaf821043a09d8c.tar.gz
gitea-29a22ade82f516d078811d5fbcaf821043a09d8c.zip
switch to maintained lib (#16532)
Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'modules/generate/generate.go')
-rw-r--r--modules/generate/generate.go3
1 files changed, 2 insertions, 1 deletions
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.