Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-30 12:09:35 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-30 12:09:35 +0300
commitbf774d67fc8a84f76f20494c318d7cfacb0c69ac (patch)
treeb991cad6b68560d19f8ce3075577aab2eb51fae6 /workhorse/internal/secret
parent50f0475ee134da9ea12e758a9f3250f2ab19cd65 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'workhorse/internal/secret')
-rw-r--r--workhorse/internal/secret/jwt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/workhorse/internal/secret/jwt.go b/workhorse/internal/secret/jwt.go
index 804f3a9aba9..ce0de6ca38d 100644
--- a/workhorse/internal/secret/jwt.go
+++ b/workhorse/internal/secret/jwt.go
@@ -7,7 +7,7 @@ import (
)
var (
- DefaultClaims = jwt.StandardClaims{Issuer: "gitlab-workhorse"}
+ DefaultClaims = jwt.RegisteredClaims{Issuer: "gitlab-workhorse"}
)
func JWTTokenString(claims jwt.Claims) (string, error) {