1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-15 23:17:19 +00:00

Switch to maintained jwt lib (#16532) (#16533)

Backport #16532

Co-authored-by: Matti R <matti@mdranta.net>
This commit is contained in:
zeripath
2021-07-24 16:13:50 +01:00
committed by GitHub
parent 0b06b2019f
commit 67942ac1a9
30 changed files with 153 additions and 171 deletions

View File

@@ -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.