summaryrefslogtreecommitdiffstats
path: root/go.mod
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2021-08-03 19:32:01 +0100
committerGitHub <noreply@github.com>2021-08-03 14:32:01 -0400
commit35735bbef982fa2268dd90c7ca709f9e9ff00efc (patch)
treee74eee9e974a23b49fa59b5be79e830bf8374d6f /go.mod
parent80b7889fee833d4d80c5581dc182b4a499b4bad4 (diff)
downloadgitea-35735bbef982fa2268dd90c7ca709f9e9ff00efc.tar.gz
gitea-35735bbef982fa2268dd90c7ca709f9e9ff00efc.zip
Upgrade to golang-jwt 3.2.2 (#16590)
* Upgrade to golang-jwt 3.2.2 Upgrade to the latest version of golang-jwt Signed-off-by: Andrew Thornton <art27@cantab.net> * Forcibly replace the 3.2.1 version of golang-jwt/jwt and increase minimum Go version Using go.mod we can forcibly replace the 3.2.1 version used by goth to 3.2.2. Further given golang-jwt/jwts stated policy of only supporting supported go versions we should just raise our minimal version of go to 1.16 for 1.16 as by time of release 1.15 will be out of support. Signed-off-by: Andrew Thornton <art27@cantab.net> * update minimal go required Signed-off-by: Andrew Thornton <art27@cantab.net> * update config.yaml Signed-off-by: Andrew Thornton <art27@cantab.net> Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod4
1 files changed, 3 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index 8bb369f3b7..ea97bc548e 100644
--- a/go.mod
+++ b/go.mod
@@ -50,7 +50,7 @@ require (
github.com/gogs/chardet v0.0.0-20191104214054-4b6791f73a28
github.com/gogs/cron v0.0.0-20171120032916-9f6c956d3e14
github.com/gogs/go-gogs-client v0.0.0-20210131175652-1d7215cd8d85
- github.com/golang-jwt/jwt v3.2.1+incompatible
+ github.com/golang-jwt/jwt v3.2.2+incompatible
github.com/golang/snappy v0.0.4 // indirect
github.com/google/go-github/v32 v32.1.0
github.com/google/go-querystring v1.1.0 // indirect
@@ -143,3 +143,5 @@ require (
)
replace github.com/hashicorp/go-version => github.com/6543/go-version v1.3.1
+
+replace github.com/golang-jwt/jwt v3.2.1+incompatible => github.com/golang-jwt/jwt v3.2.2+incompatible