summaryrefslogtreecommitdiffstats
path: root/services/lfs/server.go
diff options
context:
space:
mode:
Diffstat (limited to 'services/lfs/server.go')
-rw-r--r--services/lfs/server.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/services/lfs/server.go b/services/lfs/server.go
index df0a8bd39a..25882928a2 100644
--- a/services/lfs/server.go
+++ b/services/lfs/server.go
@@ -30,7 +30,7 @@ import (
"code.gitea.io/gitea/modules/setting"
"code.gitea.io/gitea/modules/storage"
- "github.com/golang-jwt/jwt"
+ "github.com/golang-jwt/jwt/v4"
)
// requestContext contain variables from the HTTP request.
@@ -45,6 +45,7 @@ type Claims struct {
RepoID int64
Op string
UserID int64
+ // FIXME: Migrate to RegisteredClaims
jwt.StandardClaims
}