aboutsummaryrefslogtreecommitdiffstats
path: root/services/auth
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/auth
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/auth')
-rw-r--r--services/auth/source/oauth2/jwtsigningkey.go2
-rw-r--r--services/auth/source/oauth2/token.go2
2 files changed, 2 insertions, 2 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"
)
// ___________ __