summaryrefslogtreecommitdiffstats
path: root/services
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 /services
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 'services')
-rw-r--r--services/auth/source/oauth2/jwtsigningkey.go2
-rw-r--r--services/auth/source/oauth2/token.go2
-rw-r--r--services/lfs/server.go2
3 files changed, 3 insertions, 3 deletions
diff --git a/services/auth/source/oauth2/jwtsigningkey.go b/services/auth/source/oauth2/jwtsigningkey.go
index 75e62a7c43..b8f1e40e8c 100644
--- a/services/auth/source/oauth2/jwtsigningkey.go
+++ b/services/auth/source/oauth2/jwtsigningkey.go
@@ -25,7 +25,7 @@ import (
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/util"
- "github.com/dgrijalva/jwt-go"
+ "github.com/golang-jwt/jwt"
ini "gopkg.in/ini.v1"
)
diff --git a/services/auth/source/oauth2/token.go b/services/auth/source/oauth2/token.go
index 0573a47e3b..529e04577d 100644
--- a/services/auth/source/oauth2/token.go
+++ b/services/auth/source/oauth2/token.go
@@ -9,7 +9,7 @@ import (
"time"
"code.gitea.io/gitea/modules/timeutil"
- "github.com/dgrijalva/jwt-go"
+ "github.com/golang-jwt/jwt"
)
// ___________ __
diff --git a/services/lfs/server.go b/services/lfs/server.go
index 9954534b5e..6b79a3a364 100644
--- a/services/lfs/server.go
+++ b/services/lfs/server.go
@@ -21,7 +21,7 @@ import (
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
- "github.com/dgrijalva/jwt-go"
+ "github.com/golang-jwt/jwt"
jsoniter "github.com/json-iterator/go"
)